IContextState interface (comsvcs.h)
Controls object deactivation and transaction voting by manipulating context state flags. By calling the methods of this interface, you can set consistent and done flags independently of each other and get the current status of each flag. Also, the methods of this interface return errors that indicate the absence of just-in-time (JIT) activation or the absence of a transaction.
Inheritance
The IContextState interface inherits from the IUnknown interface. IContextState also has these types of members:
Methods
The IContextState interface has these methods.
IContextState::GetDeactivateOnReturn Retrieves the value of the done flag. |
IContextState::GetMyTransactionVote Retrieves the value of the consistent flag. |
IContextState::SetDeactivateOnReturn Sets the done flag, which controls whether the object deactivates on method return. |
IContextState::SetMyTransactionVote Sets the consistent flag. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | comsvcs.h |