IStorageFile.OpenTransactedWriteAsync 方法

定义

打开事务处理、随机访问流以写入文件。

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)

返回

此方法完成后,它将返回 StorageStreamTransaction ,其中包含随机访问流和可用于完成事务的方法。

属性

适用于

另请参阅