Share via


UserDataTaskReader Class

Definition

Used to read UserDataTask objects in batches from the UserDataTaskStore which may be local or remotely located.

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

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Use GetTaskReader or GetTaskReader(UserDataTaskQueryOptions) to get an instance of this class.

Methods

ReadBatchAsync()

Asynchronously reads a batch of UserDataTask objects from the UserDataTaskStore.

Applies to