Share via


Connection Constructor (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 String _
)
'Usage
Dim url As String 
Dim queryString As String 

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

Parameters

  • queryString
    Type: System.String
    The query string data to pass to the server.

See Also

Reference

Connection Class

Connection Overload

Microsoft.AspNet.SignalR.Client Namespace