WorkZoneMessageStorageStoreMessage Method |
When this method is invoked, the specified message is stored in WorkZone as a new record (message record) in the specified case
file.
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)
Syntaxpublic string StoreMessage(
Message message,
string fileKey,
string state,
IEnumerable<Address> senderAddresses,
int? senderAddressCount,
File answerFile = null,
Guid instanceId = default,
string digitalPostSource = null
)
Public Function StoreMessage (
message As Message,
fileKey As String,
state As String,
senderAddresses As IEnumerable(Of Address),
senderAddressCount As Integer?,
Optional answerFile As File = Nothing,
Optional instanceId As Guid = Nothing,
Optional digitalPostSource As String = Nothing
) As String
public:
virtual String^ StoreMessage(
Message^ message,
String^ fileKey,
String^ state,
IEnumerable<Address^>^ senderAddresses,
Nullable<int> senderAddressCount,
File^ answerFile = nullptr,
Guid instanceId = Guid(),
String^ digitalPostSource = nullptr
) sealed
abstract StoreMessage :
message : Message *
fileKey : string *
state : string *
senderAddresses : IEnumerable<Address> *
senderAddressCount : Nullable<int> *
?answerFile : File *
?instanceId : Guid *
?digitalPostSource : string
(* Defaults:
let _answerFile = defaultArg answerFile null
let _instanceId = defaultArg instanceId new Guid()
let _digitalPostSource = defaultArg digitalPostSource null
*)
-> string
override StoreMessage :
message : Message *
fileKey : string *
state : string *
senderAddresses : IEnumerable<Address> *
senderAddressCount : Nullable<int> *
?answerFile : File *
?instanceId : Guid *
?digitalPostSource : string
(* Defaults:
let _answerFile = defaultArg answerFile null
let _instanceId = defaultArg instanceId new Guid()
let _digitalPostSource = defaultArg digitalPostSource null
*)
-> string
Parameters
- message Message
- The message that shall be stored as a message record.
- 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 will be associated to the created message record by
the role "sender"
- senderAddressCount 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 (Optional)
- 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.WorkZoneMessageStorage.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 record key of the created message record.
Implements
IMessageStorageStoreMessage(Message, String, String, IEnumerableAddress, NullableInt32, File, Guid, String)
See Also