Enum ActivityCancellationType
- Namespace
- Temporalio.Workflows
- Assembly
- Temporalio.dll
How an activity cancellation is treated by the workflow.
public enum ActivityCancellationType
Fields
Abandon = 2Do not request cancellation of the activity and immediately report cancellation to the workflow.
TryCancel = 0Initiate a cancellation request and immediately report cancellation to the workflow.
WaitCancellationCompleted = 1Wait for activity cancellation completion. Note that activity must heartbeat to receive a cancellation notification.