Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PersistentConnection::OnDisconnected Method

.NET Framework 4.5

Called when a connection disconnects.

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

protected:
virtual Task^ OnDisconnected(
	IRequest^ request, 
	String^ connectionId
)

Parameters

request
Type: Microsoft.AspNet.SignalR::IRequest
The request for the current connection.
connectionId
Type: System::String
The ID of the disconnected client.

Return Value

Type: System.Threading.Tasks::Task
The Task that completes when the disconnect operation is complete.
Show: