asp.net.ph

Response.Close Method

System.Web Namespace   HttpResponse Class


Closes the socket connection to a client.

[ VB ]
Public Sub Close ( ) 

[ C# ]
public void Close ( );

[ C++ ]
public: void Close ( );

[ JScript ]
public function Close ( );

Example

The following example closes the socket connection if content is to be suppressed.

if ( Response.SuppressContent ) Response.Close ( );
  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