TaskRegistrationOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Per-task registration options. Maps the public keyword arguments of Python's
@task(...) minus name/steerable (which are method parameters).
Backend selection, lease durations, and the local state root are framework
internals, not options here (Python parity).
public sealed class TaskRegistrationOptions
type TaskRegistrationOptions = class
Public NotInheritable Class TaskRegistrationOptions
- Inheritance
-
TaskRegistrationOptions
Constructors
| Name | Description |
|---|---|
| TaskRegistrationOptions() | |
Properties
| Name | Description |
|---|---|
| Retry |
The retry policy for handler failures. |
| Timeout |
The cap on how long a single turn (one handler invocation) may run uninterrupted. Defaults to 1 day when unset, which is also a hard ceiling: a supplied value lowers the budget but can never raise it above 1 day (larger values, and negative values, are rejected at registration with ArgumentOutOfRangeException). This is per turn, not per task and does not limit how long a multi-turn task can live — a multi-turn task may stay alive indefinitely across many turns. A task's overall lifetime is governed separately by the platform's 30-day sliding TTL (a task is cleaned up only after 30 days with no new turns). |
| Title |
A static title for the task. Defaults to the task |