CancelTransitionPolicy Enumeration

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CancelTransitionPolicy Enumeration.

Indicates how an asynchronous operation’s attempt to transition to a terminal state of completed or error should behave with respect to a client-requested canceled state.

enum CancelTransitionPolicy;  

Values

NameDescription
RemainCanceledIf the asynchronous operation is currently in a client-requested canceled state, this indicates that it will stay in the canceled state as opposed to transitioning to a terminal completed or error state.
TransitionFromCanceledIf the asynchronous operation is currently in a client-requested canceled state, this indicates that state should transition from that canceled state to the terminal state of completed or error as determined by the call that utilizes this flag.

Header: async.h

Namespace: Microsoft::WRL

Microsoft::WRL Namespace

Show: