Share via


IHubManager.ResolveHub Method

.NET Framework 4

Resolves a given hub name to a concrete object.

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

Syntax

'Declaration
Function ResolveHub ( _
    hubName As String _
) As IHub
'Usage
Dim instance As IHubManager 
Dim hubName As String 
Dim returnValue As IHub 

returnValue = instance.ResolveHub(hubName)
IHub ResolveHub(
    string hubName
)
IHub^ ResolveHub(
    String^ hubName
)
abstract ResolveHub : 
        hubName:string -> IHub
function ResolveHub(
    hubName : String
) : IHub

Parameters

Return Value

Type: Microsoft.AspNet.SignalR.Hubs.IHub
Hub implementation instance, if found. Null otherwise.

See Also

Reference

IHubManager Interface

Microsoft.AspNet.SignalR.Hubs Namespace