Click or drag to resize

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
Inheritance Hierarchy
SystemObject
  Scanjour.Workflow4.ActivityLibraryOpenCaseScope

Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_24.5.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.5.0.0.dll) Version: 24.5.0.0 (24.5.0.0)
Syntax
public class OpenCaseScope : IDisposable

The OpenCaseScope type exposes the following members.

Constructors
 NameDescription
Public methodOpenCaseScope 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
Top
Methods
 NameDescription
Public methodDispose Restores the original state of the case.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberLockCase Locks the case with with process instance.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberUnLockCase Unlocks the case.
Top
Extension Methods
See Also