The ServiceActivity allows a service with a watcher and a handler to be constructed.
Inheritance Hierarchy
System.ActivitiesActivity
Scanjour.Workflow4.ActivityLibrary.ServiceProcessServiceActivity
Namespace: Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly: Scanjour.Workflow4.ActivityLibrary_23.2.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.2.0.0.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax
The ServiceActivity type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ServiceActivity |
Constructor for Service
|
Properties
Name | Description | |
---|---|---|
DeadManLoopInterval |
While waiting for watch or handle activity to run a background job
will updated the Updated column on the workflow instance to be sure that the workflow is not regarded
as faulted by the service agent process. If the DeadManLoopInterval is default(TimeSpan) no background
job will be started.
| |
DisplayName | Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity.) | |
HandleActivity |
The handler activity which is activated if the watch activity returns true.
| |
Id | Gets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity.) | |
InitialPersist |
If true an initial persist is done before calling the the watch the first time
| |
InitialWatchInterval |
If Inital persist is true this interval will be used as the first
| |
WatchActivity |
The watch activity which is activatedwith Delay intervals.
| |
WatchInterval |
The interval between watch activity schedule.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ShouldSerializeDisplayName | Indicates whether the DisplayName property should be serialized. (Inherited from Activity.) | |
ToString | (Inherited from Activity.) |
See Also