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

适用于