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.


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


The IContextState interface has these methods.


Retrieves the value of the done flag.

Retrieves the value of the consistent flag.

Sets the done flag, which controls whether the object deactivates on method return.

Sets the consistent flag.


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

Consistent and Done Flags