Enum ActivityStopMode
The single stop action a rich activity dialog exposes. An activity dialog offers exactly one stop
action — never Cancel and Abort together — so the button, the confirmation prompt, and the
in-progress state all describe the same intent.
public enum ActivityStopMode
Fields
Abort = 1- Abort. The dialog shows an
Abortbutton, confirms with "Abort this operation?", and switches to an "Aborting…" state while it waits for the operation to stop. Mechanically identical to Cancel (the same token is cancelled); the distinct wording and Aborted outcome let callers treat a forceful stop differently. Cancel = 0- Cooperative cancellation. The dialog shows a
Cancelbutton, confirms with "Cancel this operation?", and switches to a "Cancelling…" state while it waits for the operation to observe its CancellationToken and stop.