Constructs a new Channel.
Namespace:
IBM.CTGAssembly: 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
Exception | Condition |
---|---|
IBM.CTG..::..InvalidNameException | An invalid name was specified for the Channel. |
System..::..ArgumentNullException | name is nullNothingnullptra null reference (Nothing in Visual Basic). |