| IntuitRetryPolicyExecuteActionTResult Method (ActionAsyncCallback, FuncIAsyncResult, TResult, ActionTResult, ActionException) |
Repetitively executes the specified asynchronous action while it satisfies the current retry policy.
Namespace:
Intuit.Ipp.Retry
Assembly:
Intuit.Ipp.Retry (in Intuit.Ipp.Retry.dll) Version: 4.0.0.0 (4.0.0.0)
Syntaxpublic void ExecuteAction<TResult>(
Action<AsyncCallback> beginAction,
Func<IAsyncResult, TResult> endAction,
Action<TResult> successHandler,
Action<Exception> faultHandler
)
Parameters
- beginAction
- Type: SystemActionAsyncCallback
The begin method of the async pattern. - endAction
- Type: SystemFuncIAsyncResult, TResult
The end method of the async pattern. - successHandler
- Type: SystemActionTResult
The action to perform when the async operation is done. - faultHandler
- Type: SystemActionException
The fault handler delegate that will be triggered if the operation cannot be successfully invoked despite retry attempts.
Type Parameters
- TResult
- The type of the object returned by the async operation.
See Also