OpenCaseScope Class

Ensures that a case is open inside a using-scope. Todo: Cleanup job that is triggerd every hour Todo: repeat try lock until timeout

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 class OpenCaseScope : IDisposable
Inheritance
Object    OpenCaseScope
Implements
IDisposable

Constructors

OpenCaseScope Provides a case, which is ensured to be open. If the case was closed, then the instance registers the close time of the case and subsequently reopens it. When dispose is called the case will be reverted to the state that it was in when the instance was created. When overlapping case scopes occurs only the first scope will lock

Methods

Dispose Restores the original state of the case.
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)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
LockCase Locks the case with with process instance.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
UnLockCase Unlocks the case.

Extension Methods

See Also