ChatMessageReader Class

Definition

Provides methods for reading messages from the message store.

public ref class ChatMessageReader 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 ChatMessageReader 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 ChatMessageReader
Public NotInheritable Class ChatMessageReader
Inheritance
Object Platform::Object IInspectable ChatMessageReader
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

Methods

ReadBatchAsync()

Returns a batch list of chat messages from the message store.

ReadBatchAsync(Int32)

Returns a batch list of chat messages from the message store limited to the specified size.

Applies to