Compartilhar via


Microsoft.DurableTask Namespace

Classes

AsyncPageable<T>

A collection of values that may take multiple service requests to iterate over.

DataConverter

Abstraction for serializing and deserializing data that gets passed to and from orchestrators and activities.

DurableTaskAttribute

Indicates that the attributed class represents a durable task.

DurableTaskRegistry

Container for registered ITaskOrchestrator and ITaskActivity implementations.

FuncTaskActivity

Helpers for creating ITaskActivity.

FuncTaskOrchestrator

Helpers for creating ITaskOrchestrator.

Page<T>

Represents a single page of results.

Pageable

Pageable helpers.

ParentOrchestrationInstance

Represents a parent orchestration details.

RetryContext

Retry context data that's provided to task retry handler implementations.

RetryPolicy

A declarative retry policy that can be configured for activity or sub-orchestration calls.

StartOrchestrationOptions

Options for submitting new orchestrations via the client.

SubOrchestrationOptions

Options that can be used to control the behavior of orchestrator task execution. This derived type can be used to supply extra options for orchestrations.

TaskActivity<TInput,TOutput>

Base class for activity implementations.

TaskActivityContext

Defines properties and methods for task activity context objects.

TaskFailedException

Exception that gets thrown when a durable task, such as an activity or a sub-orchestration, fails with an unhandled exception.

TaskFailureDetails

Record that represents the details of a task failure.

TaskOptions

Options that can be used to control the behavior of orchestrator task execution.

TaskOrchestrationContext

Context object used by orchestrators to perform actions such as scheduling tasks, durable timers, waiting for external events, and for getting basic information about the current orchestration.

TaskOrchestrator<TInput,TOutput>

Base class for task orchestrator implementations.

TaskRetryOptions

Task retry options. Can provide either a RetryPolicy for declarative retry or a AsyncRetryHandler for imperative retry control.

Structs

TaskName

The name of a durable task.

Interfaces

ITaskActivity

Common interface for task activity implementations.

ITaskOrchestrator

Common interface for task orchestrator implementations.

Delegates

AsyncRetryHandler

Delegate for manually handling task retries.

RetryHandler

Delegate for manually handling task retries.