DataReaderLoadOperation DataReaderLoadOperation DataReaderLoadOperation DataReaderLoadOperation DataReaderLoadOperation Class

Definition

Loads data from an input stream.

public : sealed class DataReaderLoadOperation : IAsyncInfo, IAsyncOperation<unsigned int>
struct winrt::Windows::Storage::Streams::DataReaderLoadOperation : IAsyncInfo, IAsyncOperation<unsigned int>
public sealed class DataReaderLoadOperation : IAsyncInfo, IAsyncOperation<UInt32>
Public NotInheritable Class DataReaderLoadOperation Implements IAsyncInfo, IAsyncOperation<UInt32>
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Completed Completed Completed Completed Completed

Gets or sets the handler to call when the data load operation is complete.

ErrorCode ErrorCode ErrorCode ErrorCode ErrorCode

Gets the error code for the data load operation if it fails.

Id Id Id Id Id

Gets a unique identifier that represents the data load operation.

Status Status Status Status Status

Gets the current status of the data load operation.

Methods

Cancel() Cancel() Cancel() Cancel() Cancel()

Requests the cancellation of the data load operation.

Close() Close() Close() Close() Close()

Requests that work associated with the data load operation should stop.

GetResults() GetResults() GetResults() GetResults() GetResults()

Returns the result of the data load operation.

See Also