Creates an instance using the specified URI, credentials and connection event handler.
Namespace: StreamBase.LiveView.APIAssembly: 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, string username, string pwd, EventHandler<ConnectionEventArgs> handler) instead.")] public ConnectionConfig( string uri, string username, string pwd, EventHandler<ConnectionEventArgs> handler )
<ObsoleteAttribute("Deprecated. Please use ConnectionConfig(LiveViewURI uri, string username, string pwd, EventHandler<ConnectionEventArgs> handler) instead.")> _ Public Sub New ( _ uri As String, _ username As String, _ pwd As String, _ handler As EventHandler(Of ConnectionEventArgs) _ )
public: [ObsoleteAttribute(L"Deprecated. Please use ConnectionConfig(LiveViewURI uri, string username, string pwd, EventHandler<ConnectionEventArgs> handler) instead.")] ConnectionConfig( String^ uri, String^ username, String^ pwd, 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.
- username
- String
The user name to use to authenticate when connecting to the LiveView server.
- pwd
- String
The password to use to authenticate when connecting to the LiveView server.
- handler
- EventHandler<(Of <(<'ConnectionEventArgs>)>)>
The connection event handler to use.
Remarks
DEPRECATED: Please use ConnectionConfig(LiveViewURI uri, string username, string pwd, EventHandler<ConnectionEventArgs> handler) instead.
Exceptions
Exception | Condition |
---|---|
StreamBase.LiveView.API..::..LiveViewURIException | If the given URI is malformed. |