Share via


Hub.OnReconnected Method

.NET Framework 4

Called when the connection reconnects to this hub instance.

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

Syntax

'Declaration
Public Overridable Function OnReconnected As Task
'Usage
Dim instance As Hub 
Dim returnValue As Task 

returnValue = instance.OnReconnected()
public virtual Task OnReconnected()
public:
virtual Task^ OnReconnected()
abstract OnReconnected : unit -> Task  
override OnReconnected : unit -> Task
public function OnReconnected() : Task

Return Value

Type: System.Threading.Tasks.Task
A Task.

Implements

IHub.OnReconnected()

See Also

Reference

Hub Class

Microsoft.AspNet.SignalR Namespace