Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IContextState::SetMyTransactionVote method

Sets the consistent flag.

Syntax


HRESULT SetMyTransactionVote(
  [in] TransactionVote txVote
);

Parameters

txVote [in]

The consistent flag. For a list of values, see the TransactionVote enumeration. Set this parameter to TxCommit if the consistent flag is true;set it to TxAbort if the consistent flag is false.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.

Return codeDescription
S_OK

The method completed successfully.

CONTEXT_E_NOJIT

Just-in-Time Activation is not available to this context.

 

Remarks

COM+ inspects this flag only when deactivating the object, and the flag can be set multiple times within a method call.

The default value of the consistent flag is true.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComSvcs.h

See also

Consistent and Done Flags
IContextState

 

 

Community Additions

Show:
© 2017 Microsoft