IMessageStorageStoreMessage Method |
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.ServiceProcessAssembly: 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)
Syntaxstring StoreMessage(
Message message,
string fileKey,
string state,
IEnumerable<Address> senderAddresses,
int? senderAddressesCount,
File answerFile,
Guid instanceId = default,
string digitalPostSource = null
)
Function StoreMessage (
message As Message,
fileKey As String,
state As String,
senderAddresses As IEnumerable(Of Address),
senderAddressesCount As Integer?,
answerFile As File,
Optional instanceId As Guid = Nothing,
Optional digitalPostSource As String = Nothing
) As String
String^ StoreMessage(
Message^ message,
String^ fileKey,
String^ state,
IEnumerable<Address^>^ senderAddresses,
Nullable<int> senderAddressesCount,
File^ answerFile,
Guid instanceId = Guid(),
String^ digitalPostSource = nullptr
)
abstract StoreMessage :
message : Message *
fileKey : string *
state : string *
senderAddresses : IEnumerable<Address> *
senderAddressesCount : Nullable<int> *
answerFile : File *
?instanceId : Guid *
?digitalPostSource : string
(* Defaults:
let _instanceId = defaultArg instanceId new Guid()
let _digitalPostSource = defaultArg digitalPostSource null
*)
-> string
Parameters
- message Message
- The message that shall be stored.
- fileKey String
- Key to the case file in which the message is stored.
- state String
- The state in which the created message record shall be initiated.
- senderAddresses IEnumerableAddress
- The address entities of the senders, which shall be associated to the created message record by
the role “sender”.
- senderAddressesCount NullableInt32
- The number of addresses to be registered in a record information line. If null, then the
record information line will not be created.
- answerFile File
- The file the message is answer to or null if unsolicited message.
- instanceId Guid (Optional)
[Missing <param name="instanceId"/> documentation for "M:Scanjour.Workflow4.ActivityLibrary.ServiceProcess.IMessageStorage.StoreMessage(WorkZone.Dispatcher.Base.Messages.Message,System.String,System.String,System.Collections.Generic.IEnumerable{Scanjour.Process.OData.Client.Proxy.Address},System.Nullable{System.Int32},Scanjour.Process.OData.Client.Proxy.File,System.Guid,System.String)"]
- digitalPostSource String (Optional)
- The sender of the message from the MeddelelseAfsenderNavn tag
Return Value
StringThe key of the created message record.
See Also