OpenCaseScopeLockCase Method |
Locks the case with with process instance.
Namespace: Scanjour.Workflow4.ActivityLibraryAssembly: 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)
Syntaxpublic static bool LockCase(
Uri uri,
string caseId,
Guid instanceId,
string updateUserUsedForLocking = "SJPROCESSUSER",
OpenCaseScopeLockType lockType = OpenCaseScopeLockType.Instance,
Action<string> logger = null
)
Public Shared Function LockCase (
uri As Uri,
caseId As String,
instanceId As Guid,
Optional updateUserUsedForLocking As String = "SJPROCESSUSER",
Optional lockType As OpenCaseScopeLockType = OpenCaseScopeLockType.Instance,
Optional logger As Action(Of String) = Nothing
) As Boolean
public:
static bool LockCase(
Uri^ uri,
String^ caseId,
Guid instanceId,
String^ updateUserUsedForLocking = L"SJPROCESSUSER",
OpenCaseScopeLockType lockType = OpenCaseScopeLockType::Instance,
Action<String^>^ logger = nullptr
)
static member LockCase :
uri : Uri *
caseId : string *
instanceId : Guid *
?updateUserUsedForLocking : string *
?lockType : OpenCaseScopeLockType *
?logger : Action<string>
(* Defaults:
let _updateUserUsedForLocking = defaultArg updateUserUsedForLocking "SJPROCESSUSER"
let _lockType = defaultArg lockType OpenCaseScopeLockType.Instance
let _logger = defaultArg logger null
*)
-> bool
Parameters
- uri Uri
- The URI.
- caseId String
- The case identifier.
- instanceId Guid
- The instance identifier.
- updateUserUsedForLocking String (Optional)
- The update user used for locking.
- lockType OpenCaseScopeLockType (Optional)
- Type of the lock.
- logger ActionString (Optional)
- The logger.
Return Value
Boolean[Missing <returns> documentation for "M:Scanjour.Workflow4.ActivityLibrary.OpenCaseScope.LockCase(System.Uri,System.String,System.Guid,System.String,Scanjour.Workflow4.ActivityLibrary.OpenCaseScope.LockType,System.Action{System.String})"]
See Also