DataWriterStoreOperation DataWriterStoreOperation DataWriterStoreOperation DataWriterStoreOperation DataWriterStoreOperation Class


Commits data in a buffer to a backing store.

public : sealed class DataWriterStoreOperation : IAsyncInfo, IAsyncOperation<unsigned int>
struct winrt::Windows::Storage::Streams::DataWriterStoreOperation : IAsyncInfo, IAsyncOperation<unsigned int>
public sealed class DataWriterStoreOperation : IAsyncInfo, IAsyncOperation<UInt32>
Public NotInheritable Class DataWriterStoreOperation Implements IAsyncInfo, IAsyncOperation<UInt32>
// 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 store operation is complete.

ErrorCode ErrorCode ErrorCode ErrorCode ErrorCode

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

Id Id Id Id Id

Gets a unique identifier that represents the data store operation.

Status Status Status Status Status

Gets the current status of the data store operation.


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

Requests the cancellation of the data store operation.

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

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

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

Returns the result of the data store operation.

See Also