Constructs a new Channel.

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0

Syntax

C#
public Channel(
	string name
)
Visual Basic
Public Sub New ( _
	name As String _
)
Visual C++
public:
Channel(
	String^ name
)

Parameters

name
Type: System..::..String
The name of the Channel.

Remarks

Creates a new empty Channel with the specified name. The Channel name must be between 1 and 16 characters in length and must consist of only the following types of character:

  • Uppercase characters (A-Z)
  • Lowercase characters (a-z)
  • Digits (0-9)
  • Special characters < > $ @ # / % & ? ! : | " = ' ; . - and _

Exceptions

ExceptionCondition
IBM.CTG..::..InvalidNameExceptionAn invalid name was specified for the Channel.
System..::..ArgumentNullExceptionname is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also