RetryActivity Class

The RetryActivity allows to retry activity with a condition activity and an executed activity to be constructed.

Definition

Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_24.4.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.4.0.0.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public sealed class RetryActivity : Activity
Inheritance
Object    Activity    RetryActivity

Constructors

RetryActivity Constructor for activity

Properties

ActionActivity The action activity which is activated if the condition activity returns true.
ConditionActivity The condition activity which is activated with RetryInterval intervals. If not provided result is interpreted internally - for success it will not be retry, for failure action will be retried.
DisplayNameGets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.
(Inherited from Activity)
IdGets an identifier that is unique in the scope of the workflow definition.
(Inherited from Activity)
InvertCondition Invert condition for ActionActivity result. Default value false should be used with ActionActivity that returns true for success and false for failure. For ActionActivity that returns true for failure set this value to true.
LastActionResult The last action result. Can be used to determine if retry is needed.
LogErrorIfRetrying If set to True - log message will be written first time retrying needed and when finished.
RetryDuration The current time spent on retrying updated every retry.
RetryInterval The interval between condition check activity schedule.
RetryPeriod The time period retrying will be performed. When reached no further retries will be made.
StatusActivity The status activity which is activated if assigned allows feedback on retrying status.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ShouldSerializeDisplayNameIndicates whether the DisplayName property should be serialized.
(Inherited from Activity)
ToStringReturns a String that contains the Id and DisplayName of the Activity.
(Inherited from Activity)

Extension Methods

See Also