OpenCaseScope Constructor

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

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 OpenCaseScope(
	string caseId,
	Uri uri,
	Guid instanceId,
	string updateUserUsedForLocking = "SJPROCESSUSER",
	Action<string> logger = null
)

Parameters

caseId  String
The identifier of the case
uri  Uri

[Missing <param name="uri"/> documentation for "M:Scanjour.Workflow4.ActivityLibrary.OpenCaseScope.#ctor(System.String,System.Uri,System.Guid,System.String,System.Action{System.String})"]

instanceId  Guid
The instanceid of the instance that owning the lock
updateUserUsedForLocking  String  (Optional)
The user to update the case
logger  ActionString  (Optional)
Logmethod used for writing errors

See Also