ITransactionStatus interface

Used to discover the status of the transaction that is completed by the call to CoLeaveServiceDomain when CServiceConfig is configured to use transactions in the call to CoEnterServiceDomain.

When to implement

This interface is implemented by COM+.

When to use

If you need to know the status of the transaction that is completed by the call to CoLeaveServiceDomain, create an object that implements the ITransactionStatus interface and pass a pointer to its IUnknown interface as the pUnkStatus parameter of CoLeaveServiceDomain.

Members

The ITransactionStatus interface inherits from the IUnknown interface. ITransactionStatus also has these types of members:

Methods

The ITransactionStatus interface has these methods.

MethodDescription
GetTransactionStatus

Retrieves the transaction status.

SetTransactionStatus

Sets the transaction status to either committed or aborted. Do not use this method. It is used only internally by COM+.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

ComSvcs.h

See also

CoLeaveServiceDomain
COM+ Transactions
CServiceConfig

 

 

Show: