Share via


ChatMessageChangeReader Class

Definition

Provides methods for reading and accepting message change revisions.

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
Inheritance
Object Platform::Object IInspectable ChatMessageChangeReader
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
chat blockedChatMessages chatSystem smsSend

Remarks

Obtain an instance of this class by calling GetChangeReader.

Methods

AcceptChanges()

Accepts all the changes up to and including the latest change to the message.

AcceptChangesThrough(ChatMessageChange)

Accepts all the changes up to and including a specified change.

ReadBatchAsync()

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

Applies to