Back to Website
Show / Hide Table of Contents

Class ActionRetryExtensionMethods

Inheritance
System.Object
ActionRetryExtensionMethods
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Common
Assembly: Aurigma.DesignAtoms.dll
Syntax
public static class ActionRetryExtensionMethods

Methods

InvokeWithRetries(Action, Action<Exception, Int32, Int32>, Int32[])

Declaration
public static void InvokeWithRetries(this Action action, Action<Exception, int, int> onInvokeFailed = null, int[] delays = null)
Parameters
Type Name Description
System.Action action
System.Action<System.Exception, System.Int32, System.Int32> onInvokeFailed
System.Int32[] delays

InvokeWithRetry<T>(Func<T>, Action<Exception, Int32, Int32>, Int32[])

Declaration
public static T InvokeWithRetry<T>(this Func<T> func, Action<Exception, int, int> onInvokeFailed = null, int[] delays = null)
Parameters
Type Name Description
System.Func<T> func
System.Action<System.Exception, System.Int32, System.Int32> onInvokeFailed
System.Int32[] delays
Returns
Type Description
T
Type Parameters
Name Description
T
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback