ChatMessageChangeReader.ReadBatchAsync Method

Definition

Returns a batch list of chat message change objects from the message store’s change tracker.

public:
 virtual IAsyncOperation<IVectorView<ChatMessageChange ^> ^> ^ ReadBatchAsync() = ReadBatchAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<ChatMessageChange>> ReadBatchAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<ChatMessageChange>> ReadBatchAsync();
function readBatchAsync()
Public Function ReadBatchAsync () As IAsyncOperation(Of IReadOnlyList(Of ChatMessageChange))

Returns

An asynchronous operation that returns a list of changes.

Attributes

Windows requirements

App capabilities
chat blockedChatMessages chatSystem smsSend

Remarks

This method returns an IReadOnlyList of ChatMessageChange class objects. The method is invoked as an IAsyncOperation as shown in the following example:

ChatMessageChangeTracker tracker = messageStore.ChangeTracker;
IReadOnlyList<ChatMessageChange> changeList = await tracker.GetChangeReader.ReadBatchAsync();

Applies to