IContextState::GetDeactivateOnReturn method

Retrieves the value of the done flag.

Syntax


HRESULT GetDeactivateOnReturn(
  [out] VARIANT_BOOL *pbDeactivate
);

Parameters

pbDeactivate [out]

The done flag.

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

When pbDeactivate is FALSE for the root object of a transaction, the object does not deactivate and the transaction does not terminate unless the client releases its reference to the object or until the done flag is set to 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

 

 

Show: