HubProxy Constructor
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Client.Hubs
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Sub New ( _
connection As IHubConnection, _
hubName As String _
)
'Usage
Dim connection As IHubConnection
Dim hubName As String
Dim instance As New HubProxy(connection, _
hubName)
public HubProxy(
IHubConnection connection,
string hubName
)
public:
HubProxy(
IHubConnection^ connection,
String^ hubName
)
new :
connection:IHubConnection *
hubName:string -> HubProxy
public function HubProxy(
connection : IHubConnection,
hubName : String
)
Parameters
- connection
Type: Microsoft.AspNet.SignalR.Client.Hubs.IHubConnection
- hubName
Type: System.String