UserDataTaskReader 类

定义

用于从 UserDataTaskStore 批量读取 UserDataTask 对象,这些对象可能位于本地或远程位置。

public ref class UserDataTaskReader sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UserDataTaskReader final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class UserDataTaskReader
Public NotInheritable Class UserDataTaskReader
继承
Object Platform::Object IInspectable UserDataTaskReader
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

注解

使用 GetTaskReaderGetTaskReader (UserDataTaskQueryOptions) 获取此类的实例。

方法

ReadBatchAsync()

UserDataTaskStore 异步读取一批 UserDataTask 对象。

适用于