Creates an instance of the class from the specified arguments.
Namespace: Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly: Scanjour.Workflow4.ActivityLibrary_19.1.6.0 (in Scanjour.Workflow4.ActivityLibrary_19.1.6.0.dll) Version: 19.1.6.0 (19.1.6.0)
Syntax
public WorkZoneMessageStorage( string partyRole, string documentType, string source, Uri oDataUri, Func<ODataService> openCaseScopeCtxDelegate, ISimpleLogger logger, string updateUserForLocking = "SJPROCESSUSER" )
Parameters
- partyRole
- Type: SystemString
The role by which the sender addresses (StoreMessage(Message, String, String, IEnumerableAddress, NullableInt32)) will be associated with the message records. - documentType
- Type: SystemString
The document type that the created message records will be given. - source
- Type: SystemString
The source that the created message records will be given. - oDataUri
- Type: SystemUri
To provide access to the WorkZone database. - openCaseScopeCtxDelegate
- Type: SystemFuncODataService
Delegate to provide a ODataService to be used when (or if) the case needs to be opened whilst the message record is inserted. - logger
- Type: Scanjour.Workflow4.BaseISimpleLogger
Logger into which the class writes entries. - updateUserForLocking (Optional)
- Type: SystemString
The user used to lock the case.
See Also