共用方式為


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 ,其中包含可用來完成交易的隨機存取資料流程和方法。

屬性

適用於

另請參閱