Compartir a través de


TaskRetryOptions.FromRetryHandler Method

Definition

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.

Applies to