共用方式為


ChatMessageReader 類別

定義

提供從訊息存放區讀取訊息的方法。

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
繼承
Object Platform::Object IInspectable ChatMessageReader
屬性

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

方法

ReadBatchAsync()

從訊息存放區傳回聊天訊息的批次清單。

ReadBatchAsync(Int32)

從限制為指定大小的訊息存放區傳回聊天訊息的批次清單。

適用於