ConnectionManager.GetHubContext Method (String)
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Infrastructure
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Function GetHubContext ( _
hubName As String _
) As IHubContext
'Usage
Dim instance As ConnectionManager
Dim hubName As String
Dim returnValue As IHubContext
returnValue = instance.GetHubContext(hubName)
public IHubContext GetHubContext(
string hubName
)
public:
virtual IHubContext^ GetHubContext(
String^ hubName
) sealed
abstract GetHubContext :
hubName:string -> IHubContext
override GetHubContext :
hubName:string -> IHubContext
public final function GetHubContext(
hubName : String
) : IHubContext
Parameters
- hubName
Type: System.String
Return Value
Type: Microsoft.AspNet.SignalR.IHubContext
Implements
IConnectionManager.GetHubContext(String)