Skip to content

DurableTaskStartOptions

enum

Namespace: Orleans.Durable.Tasks

Describes how a durable execution starts a task, for hosts which implement DurableTaskContext.
[System.Flags]
[Orleans.Alias(Orleans.Durable.Tasks.DurableTaskStartOptions)]
public enum DurableTaskStartOptions

Fields

NameValueDescription
None0The task is an attached child, which the starting execution owns.
Detached1The task is an independent root task, which the starting execution observes as a subscriber. No cancellation, abort, or deletion of the starting execution reaches it. Its definition is an ISchedulableTask, which the host starts as a root task.
WaitForAcceptance2The start completes once the task's host has accepted and durably stored the task, or the task's result is known.