asp.net.ph

Response.ClearHeaders Method

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 ( );

Exceptions


Exception Type Condition
HttpException Occurs when Headers are cleared after the HTTP headers have been sent.

Example

The following example clears all headers from the current buffer stream.

Response.ClearHeaders ( );
  C# VB

See Also

HttpResponse Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph