IHubManager.GetHubMethod Method
.NET Framework 4
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)
Syntax
'Declaration
Function GetHubMethod ( _
hubName As String, _
method As String, _
parameters As IList(Of IJsonValue) _
) As MethodDescriptor
'Usage
Dim instance As IHubManager
Dim hubName As String
Dim method As String
Dim parameters As IList(Of IJsonValue)
Dim returnValue As MethodDescriptor
returnValue = instance.GetHubMethod(hubName, _
method, parameters)
MethodDescriptor GetHubMethod(
string hubName,
string method,
IList<IJsonValue> parameters
)
MethodDescriptor^ GetHubMethod(
String^ hubName,
String^ method,
IList<IJsonValue^>^ parameters
)
abstract GetHubMethod :
hubName:string *
method:string *
parameters:IList<IJsonValue> -> MethodDescriptor
function GetHubMethod(
hubName : String,
method : String,
parameters : IList<IJsonValue>
) : MethodDescriptor
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.