AbstractErrorManagedActivity Class

Provides a base for error handled activities.

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 abstract class AbstractErrorManagedActivity : Activity
Inheritance
Object    Activity    AbstractErrorManagedActivity
Derived

Remarks

If needed it is possible to extend support for other compensation actions, currently it is only supported CompensatingAction.ActionType.Retry

Constructors

AbstractErrorManagedActivity Build implementation of dynamic workflow activity

Properties

CacheIdGets the identifier of the cache that is unique within the scope of the workflow definition.
(Inherited from Activity)
Cancel True if CANCEL action is detected.
ConstraintsGets a collection of Constraint activities that can be configured to provide validation for the Activity.
(Inherited from Activity)
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)
ImplementationGets or sets the delegate that returns an Activity that contains the execution logic.
(Inherited from Activity)
ImplementationVersionGets or sets the version of the implementation used.
(Inherited from Activity)
Result Provides result

Methods

CacheMetadataCreates and validates a description of the activity's arguments, variables, child activities, and activity delegates.
(Inherited from Activity)
CreateInitializationActivity Defines the activity that is executed before the while-loop that controls the managed activity. By default, this method returns an empty sequence activity, which does absolutely nothing. To make custom initialization code, please override this method and let it return the new initial activity.
CreateManagedActivity A method that should be overriden in order to create an instance of needed activity that will be error managed.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetActivityVariables Overriding this method, makes it possible for the descendant to define inner scope variables. By default (not overridden), the method returns an empty enumeration of variables, i.e. no inner scope variables are defined.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnCreateDynamicUpdateMapRaises an event when creating dynamic update map.
(Inherited from Activity)
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)

Fields

Action Action variable that is used to store and pass compensating action to child class.
DelayInterval Timespan variable that is used to store the delaytime.

Extension Methods

See Also