How an activity cancellation is treated by the workflow.
public enum ActivityCancellationType
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.