Interface IDequeueResult<T>
A result object for calls to IChangeNotificationQueue`1.Dequeue(int).
Namespace: EPiServer.Events.ChangeNotification.EventQueue
Assembly: EPiServer.Events.dll
Version: 8.11.0Syntax
public interface IDequeueResult<T>
Type Parameters
Name | Description |
---|---|
T | The type of item in the queue. |
Remarks
For internal use only.
Properties
ItemCount
Gets the number of items in the batch.
Declaration
int ItemCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Items
Gets an enumerable of the dequeued items.
Declaration
IEnumerable<T> Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T> |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | CompleteBatch has already been called, and the implementation no longer has the items. |
Methods
CompleteBatch(Boolean)
Notifies the queue that the caller is done with this batch.
Declaration
void CompleteBatch(bool success)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | success | True if the batch was successfully processed, false if not. |