GatewayConnectionPool Constructor (String, Int32, ConnectionPoolProperties)

CICS Transaction Gateway V10.1.0.0
Creates a new connection pool with the specified connection pool properties.

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

public GatewayConnectionPool(
	string hostName,
	int port,
	ConnectionPoolProperties poolProperties
)

Parameters

hostName
Type: SystemString
The host name of the Gateway daemon to connect to.
port
Type: SystemInt32
The port that the Gateway daemon is accepting TCP/IP requests on.
poolProperties
Type: IBM.CTGConnectionPoolProperties
Properties for the connection pool.
Exceptions

ExceptionCondition
ArgumentNullExceptionhostName is .
ArgumentOutOfRangeException The port number is not valid. -or- One of the properties in poolProperties is not valid.
ClientConfigurationException The value of CtgApplid or CtgApplidQualifier specified in the application configuration file is longer than 8 characters.
SocketException The host name did not resolve to a valid IP address. -or- Failed to establish the minimum number of connections with the Gateway daemon. -or- A connection to the Gateway daemon has been lost.
SecurityExceptionA caller higher in the call stack does not have permission for the requested operation.
GatewayExceptionAn error occurred within the Gateway daemon.
See Also

Reference