Show / Hide Table of Contents

Class RetryableAction

Inheritance
object
RetryableAction
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Common.Utilities.Internal
Assembly: DotNetNuke.dll
Syntax
public class RetryableAction

Constructors

RetryableAction(Action, string, int, TimeSpan)

Declaration
public RetryableAction(Action action, string description, int maxRetries, TimeSpan delay)
Parameters
Type Name Description
Action action
string description
int maxRetries
TimeSpan delay

RetryableAction(Action, string, int, TimeSpan, float)

Declaration
public RetryableAction(Action action, string description, int maxRetries, TimeSpan delay, float delayMultiplier)
Parameters
Type Name Description
Action action
string description
int maxRetries
TimeSpan delay
float delayMultiplier

Properties

Action

Declaration
public Action Action { get; set; }
Property Value
Type Description
Action

Delay

Declaration
public TimeSpan Delay { get; set; }
Property Value
Type Description
TimeSpan

DelayMultiplier

Declaration
public float DelayMultiplier { get; set; }
Property Value
Type Description
float

Description

Declaration
public string Description { get; set; }
Property Value
Type Description
string

MaxRetries

Declaration
public int MaxRetries { get; set; }
Property Value
Type Description
int

SleepAction

Declaration
public static Action<int> SleepAction { get; set; }
Property Value
Type Description
Action<int>

Methods

Retry5TimesWith2SecondsDelay(Action, string)

Declaration
public static void Retry5TimesWith2SecondsDelay(Action action, string description)
Parameters
Type Name Description
Action action
string description

RetryEverySecondFor30Seconds(Action, string)

Declaration
public static void RetryEverySecondFor30Seconds(Action action, string description)
Parameters
Type Name Description
Action action
string description

TryIt()

Declaration
public void TryIt()

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS