HubConnection.CreateHubProxy Method
.NET Framework 4
Creates an IHubProxy for the hub with the specified name.
Namespace: Microsoft.AspNet.SignalR.Client.Hubs
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Function CreateHubProxy ( _
hubName As String _
) As IHubProxy
'Usage
Dim instance As HubConnection
Dim hubName As String
Dim returnValue As IHubProxy
returnValue = instance.CreateHubProxy(hubName)
public IHubProxy CreateHubProxy(
string hubName
)
public:
IHubProxy^ CreateHubProxy(
String^ hubName
)
member CreateHubProxy :
hubName:string -> IHubProxy
public function CreateHubProxy(
hubName : String
) : IHubProxy
Parameters
- hubName
Type: System.String
The name of the hub.
Return Value
Type: Microsoft.AspNet.SignalR.Client.Hubs.IHubProxy
A IHubProxy