Click or drag to resize

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.Synchronization
Assembly: SanteDB.Client.Disconnected (in SanteDB.Client.Disconnected.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
ISynchronizationQueueEntry Enqueue(
	ISynchronizationQueueEntry otherQueueEntry,
	string reasonText = null
)

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

ISynchronizationQueueEntry
The 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