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