ServiceActivity Class

Scanjour Workflow4 Reference Manual
The ServiceActivity allows a service with a watcher and a handler to be constructed.
Inheritance Hierarchy

SystemObject
  System.ActivitiesActivity
    Scanjour.Workflow4.ActivityLibrary.ServiceProcessServiceActivity

Namespace:  Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.3.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.3.0.0.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax

public sealed class ServiceActivity : Activity

The ServiceActivity type exposes the following members.

Constructors

  NameDescription
Public methodServiceActivity
Constructor for Service
Top
Properties

  NameDescription
Public propertyDeadManLoopInterval
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.
Public propertyDisplayName
Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.
(Inherited from Activity.)
Public propertyHandleActivity
The handler activity which is activated if the watch activity returns true.
Public propertyId
Gets an identifier that is unique in the scope of the workflow definition.
(Inherited from Activity.)
Public propertyInitialPersist
If true an initial persist is done before calling the the watch the first time
Public propertyInitialWatchInterval
If Inital persist is true this interval will be used as the first
Public propertyWatchActivity
The watch activity which is activatedwith Delay intervals.
Public propertyWatchInterval
The interval between watch activity schedule.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodShouldSerializeDisplayName
Indicates whether the DisplayName property should be serialized.
(Inherited from Activity.)
Public methodToString
Returns a String that contains the Id and DisplayName of the Activity.
(Inherited from Activity.)
Top
Extension Methods

  NameDescription
Public Extension MethodFormatFromDictionary (Defined by DictionaryExtensions.)
Public Extension MethodGetFirstValue (Defined by DictionaryExtensions.)
Top
See Also

Reference