IHubManager.GetHubMethods Method

.NET Framework 4

Gets all methods available to call on a given hub.

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

Syntax

'Declaration
Function GetHubMethods ( _
    hubName As String, _
    predicate As Func(Of MethodDescriptor, Boolean) _
) As IEnumerable(Of MethodDescriptor)
'Usage
Dim instance As IHubManager 
Dim hubName As String 
Dim predicate As Func(Of MethodDescriptor, Boolean)
Dim returnValue As IEnumerable(Of MethodDescriptor)

returnValue = instance.GetHubMethods(hubName, _
    predicate)
IEnumerable<MethodDescriptor> GetHubMethods(
    string hubName,
    Func<MethodDescriptor, bool> predicate
)
IEnumerable<MethodDescriptor^>^ GetHubMethods(
    String^ hubName, 
    Func<MethodDescriptor^, bool>^ predicate
)
abstract GetHubMethods : 
        hubName:string * 
        predicate:Func<MethodDescriptor, bool> -> IEnumerable<MethodDescriptor> 
function GetHubMethods(
    hubName : String, 
    predicate : Func<MethodDescriptor, boolean>
) : IEnumerable<MethodDescriptor>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<MethodDescriptor>
List of available methods.

See Also

Reference

IHubManager Interface

Microsoft.AspNet.SignalR.Hubs Namespace