Table of Contents

Namespace Temporalio.Workflows

Classes

ActivityOptions

Options for activity execution from a workflow. Either ScheduleToCloseTimeout or StartToCloseTimeout must be set. HeartbeatTimeout must be set for the activity to receive cancellations and all but the most instantly completing activities should set this.

ChildWorkflowHandle

Handle representing a started child workflow.

ChildWorkflowHandle<TWorkflow>

Handle representing a started child workflow.

ChildWorkflowHandle<TWorkflow, TResult>

Handle representing a started child workflow.

ChildWorkflowOptions

Options for starting a child workflow.

ChildWorkflowSignalOptions

Options for child workflow signalling.

ContinueAsNewException

Exception thrown by a workflow to continue as new. Use Workflow.CreateContinueAsNewException to create.

ContinueAsNewOptions

Options for continue as new.

DelayOptions

Options for timers (i.e. DelayAsync).

ExternalWorkflowHandle

Handle representing an external workflow.

ExternalWorkflowHandle<TWorkflow>

Handle representing an external workflow.

ExternalWorkflowSignalOptions

Options for external workflow signalling.

LocalActivityOptions

Options for local activity execution from a workflow. Either ScheduleToCloseTimeout or StartToCloseTimeout must be set.

MemoUpdate

A single mutation to a memo key. This can be a set or, if HasValue is false, an unset.

Mutex

Mutex is an alternative to Mutex. It is a thin wrapper around Semaphore with a single count.

SearchAttributeUpdate

A single mutation to a search attribute key. This can be a set or, if HasValue is false, an unset.

SearchAttributeUpdate<T>

A single mutation to a search attribute key. This can be a set or, if HasValue is false, an unset.

Semaphore

Semaphore is an alternative to Semaphore and SemaphoreSlim built to be deterministic and lightweight. Many of the concepts are similar to SemaphoreSlim.

WaitConditionOptions

Options for wait conditions.

Workflow

Static class with all calls that can be made from a workflow. Properties and methods on this class cannot be used outside of a workflow (with the obvious exception of InWorkflow).

Workflow.Unsafe

Unsafe calls that can be made in a workflow.

WorkflowAttribute

Designate a type as a workflow.

WorkflowDefinition

Definition of a workflow.

WorkflowInfo

Information about the running workflow. This is immutable for the life of the workflow run.

WorkflowInfo.ParentInfo

Information about a parent of a workflow.

WorkflowInitAttribute

Designates a constructor as receiving the same arguments as the method with WorkflowRunAttribute.

WorkflowQueryAttribute

Designate a method as a query handler.

WorkflowQueryDefinition

Definition of a workflow query.

WorkflowRunAttribute

Designate a method as the entry point to a workflow.

WorkflowSignalAttribute

Designate a method as a signal handler.

WorkflowSignalDefinition

Definition of a workflow signal.

WorkflowUpdateAttribute

Designate a method as an update handler.

WorkflowUpdateDefinition

Definition of a workflow update.

WorkflowUpdateInfo

Information about the current update. This set via a AsyncLocal<T> and therefore only visible inside the handler and tasks it creates.

WorkflowUpdateValidatorAttribute

Designate a method as a validator for an update.

Enums

ActivityCancellationType

How an activity cancellation is treated by the workflow.

ChildWorkflowCancellationType

How a child workflow cancellation is treated by the workflow.

HandlerUnfinishedPolicy

Actions taken if a workflow terminates with running handlers.

ParentClosePolicy

How a workflow child will be handled when its parent workflow closes.

VersioningIntent

Indicates whether the user intends certain commands to be run on a compatible worker Build Id version or not.

Where this type is accepted optionally, an unset value indicates that the SDK should choose the most sensible default behavior for the type of command, accounting for whether the command will be run on the same task queue as the current worker.