DataReaderLoadOperation class

Applies to Windows and Windows Phone

Loads data from an input stream.

Syntax


var dataReaderLoadOperation = promise.operation;

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The DataReaderLoadOperation class has these types of members:

Methods

The DataReaderLoadOperation class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
Cancel Requests the cancellation of the data load operation.
Close Requests that work associated with the data load operation should stop.
GetResults Returns the result of the data load operation.

 

Properties

The DataReaderLoadOperation class has these properties.

PropertyAccess typeDescription

Completed

Read/writeGets or sets the handler to call when the data load operation is complete.

ErrorCode

Read-onlyGets the error code for the data load operation if it fails.

Id

Read-onlyGets a unique identifier that represents the data load operation.

Status

Read-onlyGets the current status of the data load operation.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.winmd

See also

DataReader

 

 

Show:
© 2014 Microsoft