System.Web Namespace HttpResponse Class
Clears all headers from the buffer stream.
[ VB ]
Public Sub ClearHeaders ( )
[ C# ]
public void ClearHeaders ( );
[ C++ ]
public: void ClearHeaders ( );
[ JScript ]
public function ClearHeaders ( );
Exception Type |
Condition |
HttpException |
Occurs when Headers are cleared after the HTTP headers have been sent. |
The following example clears all headers from the current buffer stream.
Response.ClearHeaders ( );
Response.ClearHeaders ( ) |
|
C# |
VB |
HttpResponse Members