共用方式為


GattReliableWriteTransaction.CommitAsync 方法

定義

依序執行所有已排入佇列的寫入,將資料寫入裝置。 一旦認可交易對象,GattReliableWriteTransaction 物件上就無法進行進一步的作業。

public:
 virtual IAsyncOperation<GattCommunicationStatus> ^ CommitAsync() = CommitAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattCommunicationStatus> CommitAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattCommunicationStatus> CommitAsync();
function commitAsync()
Public Function CommitAsync () As IAsyncOperation(Of GattCommunicationStatus)

傳回

用來管理非同步作業的物件會在完成時傳回非同步作業的狀態。

屬性

Windows 需求

應用程式功能
bluetooth

適用於