Retry.Execute<TResult> 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.
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