Share via


HubConnection Constructor (String, IDictionary<String, 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, _
    queryString As IDictionary(Of String, String) _
)
'Usage
Dim url As String 
Dim queryString As IDictionary(Of String, String)

Dim instance As New HubConnection(url, queryString)
public HubConnection(
    string url,
    IDictionary<string, string> queryString
)
public:
HubConnection(
    String^ url, 
    IDictionary<String^, String^>^ queryString
)
new : 
        url:string * 
        queryString:IDictionary<string, string> -> HubConnection
public function HubConnection(
    url : String, 
    queryString : IDictionary<String, String>
)

Parameters

See Also

Reference

HubConnection Class

HubConnection Overload

Microsoft.AspNet.SignalR.Client Namespace