IHubDescriptorProvider::TryGetHub Method

.NET Framework 4.5

Tries to retrieve hub with a given name.

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

bool TryGetHub(
	String^ hubName, 
	[OutAttribute] HubDescriptor^% descriptor
)

Parameters

hubName
Type: System::String
Name of the hub.
descriptor
Type: Microsoft.AspNet.SignalR.Hubs::HubDescriptor%
Retrieved descriptor object.

Return Value

Type: System::Boolean
True, if hub has been found
Show: