This documentation is archived and is not being maintained.
HttpResponse.IsClientConnected Property
.NET Framework 1.1
Gets a value indicating whether the client is still connected to the server.
[Visual Basic] Public ReadOnly Property IsClientConnected As Boolean [C#] public bool IsClientConnected {get;} [C++] public: __property bool get_IsClientConnected(); [JScript] public function get IsClientConnected() : Boolean;
Property Value
true if the client is currently connected; otherwise, false.
Example
The following example takes action if the client is currently connected.
[Visual Basic] If Response.IsClientConnected = True Then '... End If [C#] if (Response.IsClientConnected == true) { //... } [C++] if (Response->IsClientConnected) { //... } [JScript] if(Response.IsClientConnected){ //... }
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpResponse Class | HttpResponse Members | System.Web Namespace
Show: