StorageFile.OpenTransactedWriteAsync() | openTransactedWriteAsync() method
TOC
Collapse the table of content
Expand the table of content

StorageFile.OpenTransactedWriteAsync() | openTransactedWriteAsync() method

Opens a random-access stream to the file that can be used for transacted-write operations.

Syntax


storageFile.openTransactedWriteAsync().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<StorageStreamTransaction>

When this method completes, it returns a StorageStreamTransaction that contains the random-access stream and methods that can be used to complete transactions.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

See also

StorageFile
OpenTransactedWriteAsync(StorageOpenOptions)

 

 

Show:
© 2016 Microsoft