# DurableTaskStartOptions

Package: [Microsoft.Orleans.Durable.Abstractions](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/) 10.0.0-alpha.1

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable.Abstractions/DurableTaskStartOptions.cs#L6)

```csharp
[System.Flags]
[Orleans.Alias(Orleans.Durable.Tasks.DurableTaskStartOptions)]
public enum DurableTaskStartOptions
```

Describes how a durable execution starts a task, for hosts which implement [DurableTaskContext](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.durabletaskcontext/).

## Fields

- `None` = `0` - The task is an attached child, which the starting execution owns.
- `Detached` = `1` - The 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.
- `WaitForAcceptance` = `2` - The start completes once the task's host has accepted and durably stored the task, or the task's result is known.
