Table of Contents

Enum ActivityCancellationType

Namespace
Temporalio.Workflows
Assembly
Temporalio.dll

How an activity cancellation is treated by the workflow.

public enum ActivityCancellationType

Fields

Abandon = 2

Do not request cancellation of the activity and immediately report cancellation to the workflow.

TryCancel = 0

Initiate a cancellation request and immediately report cancellation to the workflow.

WaitCancellationCompleted = 1

Wait for activity cancellation completion. Note that activity must heartbeat to receive a cancellation notification.