IHubManager::GetHubMethod Method

.NET Framework 4.5

Retrieves a method with a given name on a given hub.

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

MethodDescriptor^ GetHubMethod(
	String^ hubName, 
	String^ method, 
	IList<IJsonValue^>^ parameters
)

Parameters

hubName
Type: System::String
Name of the hub.
method
Type: System::String
Name of the method to find.
parameters
Type: System.Collections.Generic::IList<IJsonValue>
Method parameters to match.

Return Value

Type: Microsoft.AspNet.SignalR.Hubs::MethodDescriptor
Descriptor of the method, if found. Null otherwise.
Show: