Skip to content

DurableTaskContext.AttemptCancellationToken

AttemptCancellationToken

get
View source
public CancellationToken AttemptCancellationToken
Gets the token which is canceled when the host cancels this attempt: its grain activation is stopping, or the task was aborted or deleted. Pass it to the calls which durable cleanup makes after task cancellation.