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