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