Partager via


HubConnectionContext Constructor (IHubPipelineInvoker, IConnection, String, String, StateChangeTracker)

.NET Framework 4

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

Syntax

'Declaration
Public Sub New ( _
    pipelineInvoker As IHubPipelineInvoker, _
    connection As IConnection, _
    hubName As String, _
    connectionId As String, _
    tracker As StateChangeTracker _
)
'Usage
Dim pipelineInvoker As IHubPipelineInvoker 
Dim connection As IConnection 
Dim hubName As String 
Dim connectionId As String 
Dim tracker As StateChangeTracker 

Dim instance As New HubConnectionContext(pipelineInvoker, _
    connection, hubName, connectionId, _
    tracker)
public HubConnectionContext(
    IHubPipelineInvoker pipelineInvoker,
    IConnection connection,
    string hubName,
    string connectionId,
    StateChangeTracker tracker
)
public:
HubConnectionContext(
    IHubPipelineInvoker^ pipelineInvoker, 
    IConnection^ connection, 
    String^ hubName, 
    String^ connectionId, 
    StateChangeTracker^ tracker
)
new : 
        pipelineInvoker:IHubPipelineInvoker * 
        connection:IConnection * 
        hubName:string * 
        connectionId:string * 
        tracker:StateChangeTracker -> HubConnectionContext
public function HubConnectionContext(
    pipelineInvoker : IHubPipelineInvoker, 
    connection : IConnection, 
    hubName : String, 
    connectionId : String, 
    tracker : StateChangeTracker
)

Parameters

See Also

Reference

HubConnectionContext Class

HubConnectionContext Overload

Microsoft.AspNet.SignalR.Hubs Namespace