Creates an instance of the class from the specified arguments.
Namespace: Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly: Scanjour.Workflow4.ActivityLibrary_21.3.0.0 (in Scanjour.Workflow4.ActivityLibrary_21.3.0.0.dll) Version: 21.3.0.0 (21.3.0.0)
Syntax
public WorkZoneMessageStorage( string partyRole, string documentType, string source, Uri oDataUri, Func<ODataService> openCaseScopeCtxDelegate, IActivityLogger logger, string updateUserForLocking = "SJPROCESSUSER" )
Parameters
- partyRole
- Type: SystemString
The role by which the sender addresses ([!:StoreMessage(Message, string, string, IEnumerable<Address>, int?)]) 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.ActivityLibraryIActivityLogger
Logger into which the class writes entries. - updateUserForLocking (Optional)
- Type: SystemString
The user used to lock the case.
See Also