DataReaderLoadOperation DataReaderLoadOperation DataReaderLoadOperation DataReaderLoadOperation DataReaderLoadOperation Class


Loads data from an input stream.

public : sealed class DataReaderLoadOperation : IAsyncInfo
struct winrt::Windows::Storage::Streams::DataReaderLoadOperation : IAsyncInfo
public sealed class DataReaderLoadOperation : IAsyncInfo
Public NotInheritable Class DataReaderLoadOperation Implements IAsyncInfo
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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.


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