type

TaskContext

Cancellation, task identity, attempt number, and application access for one handler.

Properties

PropertyTypeDescription
Contextcontext.ContextCarries the attempt timeout, lease loss, and shutdown cancellation.
IDstringThe durable task identity.
AttemptintThe current one-based execution attempt.
Local*LocalAPIThe same access, validation, hook, and transaction entry point used by HTTP and application code.

How it works

Tasks do not receive a privileged content path.

Full signature