Enum ActivityCancelReason
- Namespace
- Temporalio.Activities
- Assembly
- Temporalio.dll
Reason for why an activity may be cancelled.
public enum ActivityCancelReason
Fields
CancelRequested = 2Activity was explicitly cancelled.
GoneFromServer = 1The activity no longer exists on the server (may already be completed or its workflow may be completed).
HeartbeatRecordFailure = 5Failed to record heartbeat. This usually only happens if the details cannot be converted to payloads.
None = 0The activity has not been cancelled or was cancelled for an unknown reason.
Paused = 6Activity was explicitly paused.
Reset = 7Activity was explicitly reset.
Timeout = 3Activity timeout caused activity to be marked cancelled.
WorkerShutdown = 4Worker the activity is running on is shutting down.