IContextState::GetDeactivateOnReturn method (comsvcs.h)
Retrieves the value of the done flag.
Syntax
HRESULT GetDeactivateOnReturn(
[out] VARIANT_BOOL *pbDeactivate
);
Parameters
[out] pbDeactivate
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 code | Description |
---|---|
|
The method completed successfully. |
|
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
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for