ReflectedHubDescriptorProvider.TryGetHub Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Function TryGetHub ( _
hubName As String, _
<OutAttribute> ByRef descriptor As HubDescriptor _
) As Boolean
'Usage
Dim instance As ReflectedHubDescriptorProvider
Dim hubName As String
Dim descriptor As HubDescriptor
Dim returnValue As Boolean
returnValue = instance.TryGetHub(hubName, _
descriptor)
public bool TryGetHub(
string hubName,
out HubDescriptor descriptor
)
public:
virtual bool TryGetHub(
String^ hubName,
[OutAttribute] HubDescriptor^% descriptor
) sealed
abstract TryGetHub :
hubName:string *
descriptor:HubDescriptor byref -> bool
override TryGetHub :
hubName:string *
descriptor:HubDescriptor byref -> bool
public final function TryGetHub(
hubName : String,
descriptor : HubDescriptor
) : boolean
Parameters
- hubName
Type: System.String
- descriptor
Type: Microsoft.AspNet.SignalR.Hubs.HubDescriptor%
Return Value
Type: System.Boolean
Returns Boolean.
Implements
IHubDescriptorProvider.TryGetHub(String, HubDescriptor%)