QueuedMessageList Constructor |
This API is preliminary and subject to change.
Initializes a new instance of the
QueuedMessageList class
that is a read-only wrapper around the specified list.
Namespace: net.openstack.Core.Domain.QueuesAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public QueuedMessageList(
IList<QueuedMessage> list,
Func<CancellationToken, Task<ReadOnlyCollectionPage<QueuedMessage>>> getNextPageAsync,
QueuedMessageListId nextPageId
)
Public Sub New (
list As IList(Of QueuedMessage),
getNextPageAsync As Func(Of CancellationToken, Task(Of ReadOnlyCollectionPage(Of QueuedMessage))),
nextPageId As QueuedMessageListId
)
public:
QueuedMessageList(
IList<QueuedMessage^>^ list,
Func<CancellationToken, Task<ReadOnlyCollectionPage<QueuedMessage^>^>^>^ getNextPageAsync,
QueuedMessageListId^ nextPageId
)
new :
list : IList<QueuedMessage> *
getNextPageAsync : Func<CancellationToken, Task<ReadOnlyCollectionPage<QueuedMessage>>> *
nextPageId : QueuedMessageListId -> QueuedMessageList
Parameters
- list
- Type: System.Collections.GenericIListQueuedMessage
The list to wrap. - getNextPageAsync
- Type: SystemFuncCancellationToken, TaskReadOnlyCollectionPageQueuedMessage
A function that returns a TaskTResult representing the asynchronous operation to get the next page of items in the collection. If specified, this function implements GetNextPageAsync(CancellationToken). If the value is , then CanHaveNextPage will return . - nextPageId
- Type: net.openstack.Core.Domain.QueuesQueuedMessageListId
The identifier of the next page in the message list.
Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also