Compartilhar via


2.2.2.1.2 TransactionStream

The TransactionStream structure is used when the client passes a reference to the client's ITransactionStream interface and conveys information about the capabilities of the DTCO transaction manager implementation on the client.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Header (24 bytes)

...

...

DtcCapabilities

MarshalSize

...

TransactionStream (variable)

...

IsolationLevel (optional)

...

Header (24 bytes): A TransactionContextPropertyHeader; the StreamVariant field of the structure MUST be set to 0x0001.

DtcCapabilities (2 bytes): A bitwise OR of one or more of the values defined in section 2.2.6.1 indicating the capabilities of the client’s DTCO transaction manager.

MarshalSize (4 bytes): The (unsigned) size in bytes of TransactionStream.

TransactionStream (variable): An OBJREF instance containing a marshaled ITransactionStream interface instance.

IsolationLevel (optional) (4 bytes): The Transaction Isolation Level (section 2.2.6.2) used by the COM+ client. This field MUST be present if the MaxVersion field of the header is 0x0002; otherwise, this field MUST NOT be present.