IHubManager.GetHub Method
.NET Framework 4
Retrieves a single hub descriptor.
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Function GetHub ( _
hubName As String _
) As HubDescriptor
'Usage
Dim instance As IHubManager
Dim hubName As String
Dim returnValue As HubDescriptor
returnValue = instance.GetHub(hubName)
HubDescriptor GetHub(
string hubName
)
HubDescriptor^ GetHub(
String^ hubName
)
abstract GetHub :
hubName:string -> HubDescriptor
function GetHub(
hubName : String
) : HubDescriptor
Parameters
- hubName
Type: System.String
Name of the hub.
Return Value
Type: Microsoft.AspNet.SignalR.Hubs.HubDescriptor
Hub descriptor, if found. Null, otherwise.