DataReaderLoadOperation class

0 out of 3 rated this helpful - Rate this topic

Loads data from an input stream.

Syntax


var dataReaderLoadOperation = promise.operation;

Attributes

MarshalingBehaviorAttribute(Agile)
VersionAttribute(NTDDI_WIN8)

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

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.