TaskOptions.FromRetryPolicy(RetryPolicy) Method
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.
Returns a new TaskOptions from the provided RetryPolicy.
public static Microsoft.DurableTask.TaskOptions FromRetryPolicy (Microsoft.DurableTask.RetryPolicy policy);
static member FromRetryPolicy : Microsoft.DurableTask.RetryPolicy -> Microsoft.DurableTask.TaskOptions
Public Shared Function FromRetryPolicy (policy As RetryPolicy) As TaskOptions
Parameters
- policy
- RetryPolicy
The policy to convert from.
Returns
A TaskOptions built from the policy.