IHubPipelineInvoker.Reconnect Method
.NET Framework 4
To be called when a client reconnects to the HubDispatcher for each IHub the client connects to. By default, this results in the IHub 's OnReconnected method being invoked.
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Function Reconnect ( _
hub As IHub _
) As Task
'Usage
Dim instance As IHubPipelineInvoker
Dim hub As IHub
Dim returnValue As Task
returnValue = instance.Reconnect(hub)
Task Reconnect(
IHub hub
)
Task^ Reconnect(
IHub^ hub
)
abstract Reconnect :
hub:IHub -> Task
function Reconnect(
hub : IHub
) : Task
Parameters
- hub
Type: Microsoft.AspNet.SignalR.Hubs.IHub
A IHub the client is reconnected to.
Return Value
Type: System.Threading.Tasks.Task
Returns Task.