Connection Constructor (String, IDictionary<String, String>)
.NET Framework 4
Initializes a new instance of the Connection 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 Connection(url, queryString)
public Connection(
string url,
IDictionary<string, string> queryString
)
public:
Connection(
String^ url,
IDictionary<String^, String^>^ queryString
)
new :
url:string *
queryString:IDictionary<string, string> -> Connection
public function Connection(
url : String,
queryString : IDictionary<String, String>
)
Parameters
- url
Type: System.String
The URL to connect to.
- queryString
Type: System.Collections.Generic.IDictionary<String, String>
The query string data to pass to the server.