TaskOptions 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.
Options that can be used to control the behavior of orchestrator task execution.
public class TaskOptions : IEquatable<Microsoft.DurableTask.TaskOptions>
type TaskOptions = class
interface IEquatable<TaskOptions>
Public Class TaskOptions
Implements IEquatable(Of TaskOptions)
- Inheritance
-
TaskOptions
- Derived
- Implements
Constructors
TaskOptions(TaskOptions) | |
TaskOptions(TaskRetryOptions) |
Initializes a new instance of the TaskOptions class. |
Properties
EqualityContract | |
Retry |
Gets the task retry options. |
Methods
<Clone>$() | |
Equals(Object) | |
Equals(TaskOptions) | |
FromRetryHandler(AsyncRetryHandler) |
Returns a new TaskOptions from the provided AsyncRetryHandler. |
FromRetryHandler(RetryHandler) |
Returns a new TaskOptions from the provided RetryHandler. |
FromRetryPolicy(RetryPolicy) |
Returns a new TaskOptions from the provided RetryPolicy. |
GetHashCode() | |
PrintMembers(StringBuilder) | |
ToString() | |
WithInstanceId(String) |
Returns a new SubOrchestrationOptions with the provided instance ID. This can be used when starting a new sub-orchestration to specify the instance ID. |
Operators
Equality(TaskOptions, TaskOptions) | |
Inequality(TaskOptions, TaskOptions) |