Condividi tramite


RetryPolicy.ExecuteAction Method

Definition

Overloads

ExecuteAction(Action)
ExecuteAction<TResult>(Func<TResult>)

ExecuteAction(Action)

public virtual void ExecuteAction (Action action);
abstract member ExecuteAction : Action -> unit
override this.ExecuteAction : Action -> unit
Public Overridable Sub ExecuteAction (action As Action)

Parameters

action
Action

Applies to

ExecuteAction<TResult>(Func<TResult>)

public virtual TResult ExecuteAction<TResult> (Func<TResult> func);
abstract member ExecuteAction : Func<'Result> -> 'Result
override this.ExecuteAction : Func<'Result> -> 'Result
Public Overridable Function ExecuteAction(Of TResult) (func As Func(Of TResult)) As TResult

Type Parameters

TResult

Parameters

func
Func<TResult>

Returns

TResult

Applies to