IHubPipelineInvoker.Connect Method

.NET Framework 4

To be called when a client connects to the HubDispatcher for each IHub the client connects to. By default, this results in the IHub 's OnConnected method being invoked.

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

Syntax

'Declaration
Function Connect ( _
    hub As IHub _
) As Task
'Usage
Dim instance As IHubPipelineInvoker 
Dim hub As IHub 
Dim returnValue As Task 

returnValue = instance.Connect(hub)
Task Connect(
    IHub hub
)
Task^ Connect(
    IHub^ hub
)
abstract Connect : 
        hub:IHub -> Task
function Connect(
    hub : IHub
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
Returns Task.

See Also

Reference

IHubPipelineInvoker Interface

Microsoft.AspNet.SignalR.Hubs Namespace