TaskRetryOptions Constructors
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.
Overloads
TaskRetryOptions(AsyncRetryHandler) |
Initializes a new instance of the TaskRetryOptions class. |
TaskRetryOptions(RetryPolicy) |
Initializes a new instance of the TaskRetryOptions class. |
TaskRetryOptions(AsyncRetryHandler)
Initializes a new instance of the TaskRetryOptions class.
public TaskRetryOptions (Microsoft.DurableTask.AsyncRetryHandler handler);
new Microsoft.DurableTask.TaskRetryOptions : Microsoft.DurableTask.AsyncRetryHandler -> Microsoft.DurableTask.TaskRetryOptions
Public Sub New (handler As AsyncRetryHandler)
Parameters
- handler
- AsyncRetryHandler
The retry handler to use.
Applies to
TaskRetryOptions(RetryPolicy)
Initializes a new instance of the TaskRetryOptions class.
public TaskRetryOptions (Microsoft.DurableTask.RetryPolicy policy);
new Microsoft.DurableTask.TaskRetryOptions : Microsoft.DurableTask.RetryPolicy -> Microsoft.DurableTask.TaskRetryOptions
Public Sub New (policy As RetryPolicy)
Parameters
- policy
- RetryPolicy
The retry policy to use.