DataWriterStoreOperation class

Applies to Windows and Windows Phone

Commits data in a buffer to a backing store.

Syntax


var dataWriterStoreOperation = promise.operation;

Attributes

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

Members

The DataWriterStoreOperation class has these types of members:

Methods

The DataWriterStoreOperation 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 store operation.
Close Requests that work associated with the data store operation should stop.
GetResults Returns the result of the data store operation.

 

Properties

The DataWriterStoreOperation class has these properties.

PropertyAccess typeDescription

Completed

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

ErrorCode

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

Id

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

Status

Read-onlyGets the current status of the data store 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

DataWriter

 

 

Show:
© 2014 Microsoft