Hubservable 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 ( _
proxy As IHubProxy, _
eventName As String _
)
'Usage
Dim proxy As IHubProxy
Dim eventName As String
Dim instance As New Hubservable(proxy, eventName)
public Hubservable(
IHubProxy proxy,
string eventName
)
public:
Hubservable(
IHubProxy^ proxy,
String^ eventName
)
new :
proxy:IHubProxy *
eventName:string -> Hubservable
public function Hubservable(
proxy : IHubProxy,
eventName : String
)
Parameters
- proxy
Type: Microsoft.AspNet.SignalR.Client.Hubs.IHubProxy
- eventName
Type: System.String