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

Return Value

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

See Also

Reference

IHubManager Interface

Microsoft.AspNet.SignalR.Hubs Namespace