Click or drag to resize

ClientChannelConnect Method (String, String, String, String)

Connects this channel to a NetSwitch server using supplied name, nameOrUri, username and password.

Namespace:  OBCOM.NetSwitchLib.Clients
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public void Connect(
	string name,
	string nameOrUri,
	string username,
	string password
)

Parameters

name
Type: SystemString
The name of this channel.
nameOrUri
Type: SystemString
An environment name or connection URI.
username
Type: SystemString
The name of a user of the NetSwitch server.
password
Type: SystemString
The password of a user of the NetSwitch server.
Exceptions
ExceptionCondition
ArgumentNullException An argument is null or empty.
Exception A connection error occurs.
See Also