Hub.OnDisconnected Method

.NET Framework 4

Called when a connection disconnects from this hub instance.

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

Syntax

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

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

Return Value

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

Implements

IHub.OnDisconnected()

See Also

Reference

Hub Class

Microsoft.AspNet.SignalR Namespace