ChannelCreateContainer Method (String, String)

CICS Transaction Gateway V9.3.0.0
Creates a new Container of type CHAR within this Channel.

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

public Container CreateContainer(
	string containerName,
	string charData
)

Parameters

containerName
Type: SystemString
The name of the new Container.
charData
Type: SystemString
A String 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.
See Also

Reference