HubDispatcher.OnDisconnected Method
.NET Framework 4This member overrides PersistentConnection.OnDisconnected(IRequest, String).
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Protected Overrides Function OnDisconnected ( _
request As IRequest, _
connectionId As String _
) As Task
'Usage
Dim request As IRequest
Dim connectionId As String
Dim returnValue As Task
returnValue = Me.OnDisconnected(request, _
connectionId)
protected override Task OnDisconnected(
IRequest request,
string connectionId
)
protected:
virtual Task^ OnDisconnected(
IRequest^ request,
String^ connectionId
) override
abstract OnDisconnected :
request:IRequest *
connectionId:string -> Task
override OnDisconnected :
request:IRequest *
connectionId:string -> Task
protected override function OnDisconnected(
request : IRequest,
connectionId : String
) : Task
Parameters
- request
Type: Microsoft.AspNet.SignalR.IRequest
- connectionId
Type: System.String
Return Value
Type: System.Threading.Tasks.Task