TaskRetryOptions.FromRetryHandler 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.
Overloads
FromRetryHandler(AsyncRetryHandler) |
Returns a new TaskRetryOptions from the provided AsyncRetryHandler. |
FromRetryHandler(RetryHandler) |
Returns a new TaskRetryOptions from the provided RetryHandler. |
FromRetryHandler(AsyncRetryHandler)
Returns a new TaskRetryOptions from the provided AsyncRetryHandler.
public static Microsoft.DurableTask.TaskRetryOptions FromRetryHandler (Microsoft.DurableTask.AsyncRetryHandler handler);
static member FromRetryHandler : Microsoft.DurableTask.AsyncRetryHandler -> Microsoft.DurableTask.TaskRetryOptions
Public Shared Function FromRetryHandler (handler As AsyncRetryHandler) As TaskRetryOptions
Parameters
- handler
- AsyncRetryHandler
The handler to convert from.
Returns
A TaskRetryOptions built from the handler.
Applies to
FromRetryHandler(RetryHandler)
Returns a new TaskRetryOptions from the provided RetryHandler.
public static Microsoft.DurableTask.TaskRetryOptions FromRetryHandler (Microsoft.DurableTask.RetryHandler handler);
static member FromRetryHandler : Microsoft.DurableTask.RetryHandler -> Microsoft.DurableTask.TaskRetryOptions
Public Shared Function FromRetryHandler (handler As RetryHandler) As TaskRetryOptions
Parameters
- handler
- RetryHandler
The handler to convert from.
Returns
A TaskRetryOptions built from the handler.