Creates an instance using the supplied URI, no credentials and the supplied connection event handler.
Namespace: StreamBase.LiveView.API
Remarks
DEPRECATED: Please use ConnectionConfig(LiveViewURI uri, EventHandler<ConnectionEventArgs> handler) instead.
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 10.3.0.4 (10.3.0.4)
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
| Exception | Condition |
|---|---|
| StreamBase.LiveView.API..::..LiveViewURIException | If the given URI is malformed. |