Class ActivityCancellationDetails
- Namespace
- Temporalio.Activities
- Assembly
- Temporalio.dll
Details that are set when an activity is cancelled. This is only valid at the time the cancel was received, the state may change on the server after it is received.
public class ActivityCancellationDetails
- Inheritance
-
ActivityCancellationDetails
- Inherited Members
Properties
IsCancelRequested
Gets a value indicating whether the activity was explicitly cancelled.
public bool IsCancelRequested { get; init; }
Property Value
IsGoneFromServer
Gets a value indicating whether the activity no longer exists on the server (may already be completed or its workflow may be completed).
public bool IsGoneFromServer { get; init; }
Property Value
IsHeartbeatRecordFailure
Gets a value indicating whether the activity failed to record heartbeat. This usually only happens if the details cannot be converted to payloads.
public bool IsHeartbeatRecordFailure { get; init; }
Property Value
IsPaused
Gets a value indicating whether the activity was explicitly paused.
public bool IsPaused { get; init; }
Property Value
IsTimedOut
Gets a value indicating whether the activity timeout caused activity to be marked cancelled.
public bool IsTimedOut { get; init; }
Property Value
IsWorkerShutdown
Gets a value indicating whether the worker the activity is running on is shutting down.
public bool IsWorkerShutdown { get; init; }