IMessageStorageStoreMessage Method

Scanjour Workflow4 Reference Manual
When this method is invoked, the implementation shall store the specified message in the implemented storage as a new record (message record).

Namespace:  Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly:  Scanjour.Workflow4.ActivityLibrary_19.0.1.0 (in Scanjour.Workflow4.ActivityLibrary_19.0.1.0.dll) Version: 19.0.1.0 (19.0.1.0)
Syntax

string StoreMessage(
	Message message,
	string fileKey,
	string state,
	IEnumerable<Address> senderAddresses,
	Nullable<int> senderAddressesCount
)

Parameters

message
Type: WorkZone.Dispatcher.Base.MessagesMessage
The message that shall be stored.
fileKey
Type: SystemString
Key to the case file in which the message is stored.
state
Type: SystemString
The state in which the created message record shall be initiated.
senderAddresses
Type: System.Collections.GenericIEnumerableAddress
The address entities of the senders, which shall be associated to the created message record by the role “sender”.
senderAddressesCount
Type: SystemNullableInt32
The number of addresses to be registered in a record information line. If null, then the record information line will not be created.

Return Value

Type: String
The key of the created message record.
See Also

Reference