The RetryableAction type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | RetryableAction(Action, String, Int32, TimeSpan) | DotNetNuke.Common.Utilities.Internal.RetryableAction |
![]() | RetryableAction(Action, String, Int32, TimeSpan, Single) | DotNetNuke.Common.Utilities.Internal.RetryableAction |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Retry5TimesWith2SecondsDelay | |
![]() ![]() | RetryEverySecondFor30Seconds | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryIt |
Extension Methods
Name | Description | |
---|---|---|
![]() | ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |
Properties
Name | Description | |
---|---|---|
![]() | Action |
The Action to execute
|
![]() | Delay |
The number of milliseconds to wait between retries.
|
![]() | DelayMultiplier |
A factor by which the delay is adjusted after each retry. Default is 1.
|
![]() | Description |
A message describing the action. The primary purpose is to make the action identifiable in the log output.
|
![]() | MaxRetries |
The maximum number of retries to attempt
|
![]() ![]() | SleepAction |
Method that allows thread to sleep until next retry meant for unit testing purposes
|