ChannelCreateContainer Method (String, Byte)

CICS Transaction Gateway V10.1.0.0
Creates a new Container of type BIT within this Channel.

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

public Container CreateContainer(
	string containerName,
	byte[] bitData
)

Parameters

containerName
Type: SystemString
The name of the new Container.
bitData
Type: SystemByte
A byte array to be placed in the Container.

Return Value

Type: Container
The newly created Container.
Exceptions

ExceptionCondition
InvalidNameExceptionAn invalid name was specified for the Container.
ArgumentNullExceptionname is .
ContainerExistsExceptionA Container with the same name already exists within the Channel.
ObjectDisposedExceptionThe Channel has been disposed.
Remarks

The Container 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 _
See Also

Reference