Udostępnij za pośrednictwem


IStorageFile.OpenTransactedWriteAsync Method

Definition

Opens a transacted, random-access stream for writing to the file.

public:
 IAsyncOperation<StorageStreamTransaction ^> ^ OpenTransactedWriteAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageStreamTransaction> OpenTransactedWriteAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageStreamTransaction> OpenTransactedWriteAsync();
function openTransactedWriteAsync()
Public Function OpenTransactedWriteAsync () As IAsyncOperation(Of StorageStreamTransaction)

Returns

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

Attributes

Applies to

See also