HubConnection Constructor (String)
.NET Framework 4.5
Initializes a new instance of the HubConnection class.
Namespace: Microsoft.AspNet.SignalR.Client
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Sub New ( _
url As String _
)
'Usage
Dim url As String
Dim instance As New HubConnection(url)
public HubConnection(
string url
)
public:
HubConnection(
String^ url
)
new :
url:string -> HubConnection
public function HubConnection(
url : String
)
Parameters
- url
Type: System.String
The url to connect to.