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: 11.0.0.3 (11.0.0.3)
Syntax
C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Deprecated. Please use ConnectionConfig(handler){URI = uri, Authentication=new LiveViewBasicAuth(user, pass)}; instead, or include the authentication in the URI.")] public ConnectionConfig( LiveViewURI uri, string username, string pwd, EventHandler<ConnectionEventArgs> handler )
<ObsoleteAttribute("Deprecated. Please use ConnectionConfig(handler){URI = uri, Authentication=new LiveViewBasicAuth(user, pass)}; instead, or include the authentication in the URI.")> _ Public Sub New ( _ uri As LiveViewURI, _ username As String, _ pwd As String, _ handler As EventHandler(Of ConnectionEventArgs) _ )
public: [ObsoleteAttribute(L"Deprecated. Please use ConnectionConfig(handler){URI = uri, Authentication=new LiveViewBasicAuth(user, pass)}; instead, or include the authentication in the URI.")] ConnectionConfig( LiveViewURI^ uri, String^ username, String^ pwd, EventHandler<ConnectionEventArgs^>^ handler )
Parameters
- uri
- LiveViewURI
The URI to use when connecting to the LiveView server.
- 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.