ChatMessageChangeReader.ReadBatchAsync 方法

定义

从消息存储的更改跟踪器返回聊天消息更改对象的批列表。

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))

返回

返回更改列表的异步操作。

属性

Windows 要求

应用功能
chat blockedChatMessages chatSystem smsSend

注解

此方法返回 ChatMessageChange 类 对象的 IReadOnlyList。 方法作为 IAsyncOperation 调用,如以下示例所示:

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

适用于