ChatSearchReader 类

定义

提供在 ChatMessageStore 中搜索聊天消息的功能。

public ref class ChatSearchReader 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 ChatSearchReader 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 ChatSearchReader
Public NotInheritable Class ChatSearchReader
继承
Object Platform::Object IInspectable ChatSearchReader
属性

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 chatSystem smsSend

注解

调用 ChatMessageStore.GetSearchReader 方法以获取此类的实例。

方法

ReadBatchAsync()

返回一批与搜索条件匹配的找到项。

ReadBatchAsync(Int32)

返回一批与搜索条件匹配的找到项。

适用于