Enum ActivityOutcome
The terminal outcome of a rich activity dialog run. Mapped 1:1 from the modal
DialogResultKind plus the background operation's own result/exception. Distinguishes
successful completion from the cancellation flavours and operation failure so callers can branch
without re-deriving meaning from a collapsed value.
public enum ActivityOutcome
Fields
Aborted = 2- The user aborted via an explicit Abort action.
Cancelled = 1- The user cancelled (Esc / Cancel), or the caller token cancelled the run.
Completed = 0- The operation ran to completion and produced a value.
Failed = 5- The operation threw; the exception is carried on the result.
SystemCancelled = 4- Process/system cancellation (Ctrl-C / SIGTERM / shutdown).
TimedOut = 3- The inactivity timeout expired.