Share via


HubManagerExtensions.GetHubMethods Method

.NET Framework 4

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetHubMethods ( _
    hubManager As IHubManager, _
    hubName As String _
) As IEnumerable(Of MethodDescriptor)
'Usage
Dim hubManager As IHubManager 
Dim hubName As String 
Dim returnValue As IEnumerable(Of MethodDescriptor)

returnValue = hubManager.GetHubMethods(hubName)
public static IEnumerable<MethodDescriptor> GetHubMethods(
    this IHubManager hubManager,
    string hubName
)
[ExtensionAttribute]
public:
static IEnumerable<MethodDescriptor^>^ GetHubMethods(
    IHubManager^ hubManager, 
    String^ hubName
)
static member GetHubMethods : 
        hubManager:IHubManager * 
        hubName:string -> IEnumerable<MethodDescriptor> 
public static function GetHubMethods(
    hubManager : IHubManager, 
    hubName : String
) : IEnumerable<MethodDescriptor>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<MethodDescriptor>
Returns IEnumerable<T>.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IHubManager. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.100) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.100).

See Also

Reference

HubManagerExtensions Class

Microsoft.AspNet.SignalR.Hubs Namespace