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 ( );
The following example closes the socket connection if content is to be suppressed.
if ( Response.SuppressContent ) Response.Close ( );
If Response.SuppressContent Then Response.Close ( ) |
|
C# |
VB |
HttpResponse Members