Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HubConnection Constructor (String, Boolean)

.NET Framework 4.5

Initializes a new instance of the HubConnection class.

Namespace:  Microsoft.AspNet.SignalR.Client.Hubs
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

public function HubConnection(
	url : String, 
	useDefaultUrl : boolean
)

Parameters

url
Type: System.String
The URL to connect to.
useDefaultUrl
Type: System.Boolean
Determines if the default "/signalr" path should be appended to the specified URL.
Show:
© 2015 Microsoft