次の方法で共有


Retry.Execute<TResult> Method

Definition

public:
generic <typename TResult>
 static void Execute(Func<TResult> ^ action, TimeSpan retryInterval, int retryCount, TResult expectedResult);
public static void Execute<TResult> (Func<TResult> action, TimeSpan retryInterval, int retryCount, TResult expectedResult);
static member Execute : Func<'Result> * TimeSpan * int * 'Result -> unit
Public Shared Sub Execute(Of TResult) (action As Func(Of TResult), retryInterval As TimeSpan, retryCount As Integer, expectedResult As TResult)

Type Parameters

TResult

Parameters

action
Func<TResult>
retryInterval
TimeSpan
retryCount
Int32
expectedResult
TResult

Applies to