共用方式為


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

從訊息存放區的變更追蹤器傳回聊天訊息變更物件的批次清單。

適用於