Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

abstract OnReconnected : 
        request:IRequest * 
        connectionId:string -> Task  
override OnReconnected : 
        request:IRequest * 
        connectionId:string -> Task

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:
© 2015 Microsoft