PersistentConnection.OnReconnected Method

.NET Framework 4.5

Called when a connection reconnects after a timeout.

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

'Declaration
Protected Overridable Function OnReconnected ( _
	request As IRequest, _
	connectionId As String _
) As Task
'Usage
Dim request As IRequest 
Dim connectionId As String 
Dim returnValue As Task 

returnValue = Me.OnReconnected(request, _
	connectionId)

Parameters

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

Return Value

Type: System.Threading.Tasks.Task
A Task that completes when the re-connect operation is complete.
Show: