Share via


DefaultHubManager.GetHub Method

.NET Framework 4

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

Syntax

'Declaration
Public Function GetHub ( _
    hubName As String _
) As HubDescriptor
'Usage
Dim instance As DefaultHubManager 
Dim hubName As String 
Dim returnValue As HubDescriptor 

returnValue = instance.GetHub(hubName)
public HubDescriptor GetHub(
    string hubName
)
public:
virtual HubDescriptor^ GetHub(
    String^ hubName
) sealed
abstract GetHub : 
        hubName:string -> HubDescriptor  
override GetHub : 
        hubName:string -> HubDescriptor
public final function GetHub(
    hubName : String
) : HubDescriptor

Parameters

Return Value

Type: Microsoft.AspNet.SignalR.Hubs.HubDescriptor
Returns HubDescriptor.

Implements

IHubManager.GetHub(String)

See Also

Reference

DefaultHubManager Class

Microsoft.AspNet.SignalR.Hubs Namespace