[TIBCO.EMS .NET client library 6.3 documentation]

Create a EMSDTCconnection

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

public EMSDTCConnection CreateEMSDTCConnection()
Public Function CreateEMSDTCConnection As EMSDTCConnection
public:
EMSDTCConnection^ CreateEMSDTCConnection()

Return Value

The newly created EMSDTCConnection.

Remarks

The connection object presents a default user identity. If the server configuration permits that user, then the call succeeds. NOTE: Before creating an EMSDTCConnection, the clientId has to be set for the connection factory or else an exception is thrown to indicate the absence of clientId.

Exceptions

ExceptionCondition
TIBCO.EMS..::.EMSException If the cilentID is null or some other internal error

See Also