Compartilhar via


TaskRetryOptions.Implicit Operator

Definition

Overloads

Implicit(AsyncRetryHandler to TaskRetryOptions)

Returns a new TaskRetryOptions from the provided AsyncRetryHandler.

Implicit(RetryHandler to TaskRetryOptions)

Returns a new TaskRetryOptions from the provided RetryHandler.

Implicit(RetryPolicy to TaskRetryOptions)

Returns a new TaskRetryOptions from the provided RetryPolicy.

Implicit(AsyncRetryHandler to TaskRetryOptions)

Returns a new TaskRetryOptions from the provided AsyncRetryHandler.

public static implicit operator Microsoft.DurableTask.TaskRetryOptions (Microsoft.DurableTask.AsyncRetryHandler handler);
static member op_Implicit : Microsoft.DurableTask.AsyncRetryHandler -> Microsoft.DurableTask.TaskRetryOptions
Public Shared Widening Operator CType (handler As AsyncRetryHandler) As TaskRetryOptions

Parameters

handler
AsyncRetryHandler

The handler to convert from.

Returns

Applies to

Implicit(RetryHandler to TaskRetryOptions)

Returns a new TaskRetryOptions from the provided RetryHandler.

public static implicit operator Microsoft.DurableTask.TaskRetryOptions (Microsoft.DurableTask.RetryHandler handler);
static member op_Implicit : Microsoft.DurableTask.RetryHandler -> Microsoft.DurableTask.TaskRetryOptions
Public Shared Widening Operator CType (handler As RetryHandler) As TaskRetryOptions

Parameters

handler
RetryHandler

The handler to convert from.

Returns

Applies to

Implicit(RetryPolicy to TaskRetryOptions)

Returns a new TaskRetryOptions from the provided RetryPolicy.

public static implicit operator Microsoft.DurableTask.TaskRetryOptions (Microsoft.DurableTask.RetryPolicy policy);
static member op_Implicit : Microsoft.DurableTask.RetryPolicy -> Microsoft.DurableTask.TaskRetryOptions
Public Shared Widening Operator CType (policy As RetryPolicy) As TaskRetryOptions

Parameters

policy
RetryPolicy

The policy to convert from.

Returns

Applies to