共用方式為


XACTTRANSINFO

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The XACTTRANSINFO structure stores information about the transaction.

Syntax

  
      typedef struct XACTTRANSINFO { XACTUOW  
      uow;  
    ISOLEVELisoLevel;  
    ULONGisoFlags;  
    DWORDgrfTCSupported;  
    DWORDgrfRMSupported;  
    DWORDgrfTCSupportedRetaining;  
    DWORDgrfRMSupportedRetaining;  
} XACTTRANSINFO;  

Members

uow
The unit of work associated with this transaction.

isoLevel
The isolation level associated with this transaction object, specified by the ISOLATIONLEVEL enumeration. ISOLATIONLEVEL_UNSPECIFIED indicates that no isolation level was specified.

isoFlags
Values from ISOFLAG enumeration.

grfTCSupported
This bit mask indicates which grfTC flags that this transaction implementation supports.

grfRMSupported
Must be zero.

grfTCSupportedRetaining
Must be zero.

grfRMSupportedRetaining
Must be zero.

Requirements

For an explanation of the requirement values, see Requirements (Component Services).

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in transact.h

See Also

ITransaction::GetTransactionInfo
ITransaction2::GetTransactionInfo2