IMethodDescriptorProvider::TryGetMethod Method

.NET Framework 4.5

Tries to retrieve a method.

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

bool TryGetMethod(
	HubDescriptor^ hub, 
	String^ method, 
	[OutAttribute] MethodDescriptor^% descriptor, 
	IList<IJsonValue^>^ parameters
)

Parameters

hub
Type: Microsoft.AspNet.SignalR.Hubs::HubDescriptor
Hub descriptor object
method
Type: System::String
Name of the method.
descriptor
Type: Microsoft.AspNet.SignalR.Hubs::MethodDescriptor%
Descriptor of the method, if found. Null otherwise.
parameters
Type: System.Collections.Generic::IList<IJsonValue>
Method parameters to match.

Return Value

Type: System::Boolean
True, if a method has been found.
Show: