Creates an instance using the supplied URI, no credentials and the supplied connection event handler.

Remarks

DEPRECATED: Please use ConnectionConfig(LiveViewURI uri, EventHandler<ConnectionEventArgs> handler) instead.

Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 2.2.8.5956 (2.2.8.5956)

Syntax

         
 C#  Visual Basic  Visual C++ 
[ObsoleteAttribute("Deprecated. Please use ConnectionConfig(LiveViewURI uri, EventHandler<ConnectionEventArgs> handler) instead.")]
public ConnectionConfig(
	string uri,
	EventHandler<ConnectionEventArgs> handler
)
<ObsoleteAttribute("Deprecated. Please use ConnectionConfig(LiveViewURI uri, EventHandler<ConnectionEventArgs> handler) instead.")> _
Public Sub New ( _
	uri As String, _
	handler As EventHandler(Of ConnectionEventArgs) _
)
public:
[ObsoleteAttribute(L"Deprecated. Please use ConnectionConfig(LiveViewURI uri, EventHandler<ConnectionEventArgs> handler) instead.")]
ConnectionConfig(
	String^ uri, 
	EventHandler<ConnectionEventArgs^>^ handler
)

Parameters

uri
String
The URI to use when connecting to the LiveView server. Valid URIs must start with "lv://" and will default to port 10080 if none is specified.
handler
EventHandler<(Of <(<'ConnectionEventArgs>)>)>
The connection event handler to use.

Exceptions

ExceptionCondition
StreamBase.LiveView.API..::..LiveViewURIExceptionIf the given URI is malformed.

See Also