ChatMessageChangeReader 类

定义

提供用于读取和接受消息更改修订的方法。

public ref class ChatMessageChangeReader sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ChatMessageChangeReader final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ChatMessageChangeReader
Public NotInheritable Class ChatMessageChangeReader
继承
Object Platform::Object IInspectable ChatMessageChangeReader
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
chat blockedChatMessages chatSystem smsSend

注解

通过调用 GetChangeReader 获取此类的实例。

方法

AcceptChanges()

接受所有更改,包括邮件的最新更改。

AcceptChangesThrough(ChatMessageChange)

接受所有更改,包括指定的更改。

ReadBatchAsync()

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

适用于