 | ISynchronizationQueueEnqueue(ISynchronizationQueueEntry, String) Method |
Enqueues the specified otherQueueEntry directly into this queue (used for copying queue entries) with a reason
Namespace: SanteDB.Client.Disconnected.Data.SynchronizationAssembly: SanteDB.Client.Disconnected (in SanteDB.Client.Disconnected.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
SyntaxISynchronizationQueueEntry Enqueue(
ISynchronizationQueueEntry otherQueueEntry,
string reasonText = null
)
Function Enqueue (
otherQueueEntry As ISynchronizationQueueEntry,
Optional reasonText As String = Nothing
) As ISynchronizationQueueEntry
ISynchronizationQueueEntry^ Enqueue(
ISynchronizationQueueEntry^ otherQueueEntry,
String^ reasonText = nullptr
)
abstract Enqueue :
otherQueueEntry : ISynchronizationQueueEntry *
?reasonText : string
(* Defaults:
let _reasonText = defaultArg reasonText null
*)
-> ISynchronizationQueueEntry Parameters
- otherQueueEntry ISynchronizationQueueEntry
- The queue entry which should be enqueued in this queue
- reasonText String (Optional)
- The reason for the other queue entry being placed onto this queue
Return Value
ISynchronizationQueueEntryThe newly created queue entry
Remarks
Implementers should not make assumptions that this queue entry has been de-queued and should preserve the original
otherQueueEntry data
if they are using a shared record of data files. Typically a "retry" occurs when a queue entry of type
ISynchronizationDeadLetterQueueEntry is
being queued into a queue without the
DeadLetter attribute, if an entry of
ISynchronizationQueueEntry is being
enqueued to a queue with
DeadLetter attribute then it represents a "cannot deliver" condition.
See Also