Flows a GatewayRequest to the Gateway daemon.
Namespace:
IBM.CTGAssembly: IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0
Syntax
C# |
---|
public int Flow( GatewayRequest request ) |
Visual Basic (Declaration) |
---|
Public Function Flow ( _ request As GatewayRequest _ ) As Integer |
Visual C++ |
---|
public: int Flow( GatewayRequest^ request ) |
Parameters
- request
- Type: IBM.CTG..::.GatewayRequest
The GatewayRequest to flow.
Return Value
The return code from the request. The possible values depend upon the type of GatewayRequest that was flowed.
Remarks
A return code of zero indicates the request completed successfully.
Exceptions
Exception | Condition |
---|---|
System..::.InvalidOperationException | The thread that attempted to use the GatewayConnection is different to the one that created it. |
System..::.ObjectDisposedException | The GatewayConnection has been closed. |
System.Net.Sockets..::.SocketException | The connection to the Gateway daemon has been lost. |
IBM.CTG..::.GatewayException | An error occurred within the Gateway daemon. |