GattReliableWriteTransaction.CommitWithResultAsync GattReliableWriteTransaction.CommitWithResultAsync GattReliableWriteTransaction.CommitWithResultAsync GattReliableWriteTransaction.CommitWithResultAsync GattReliableWriteTransaction.CommitWithResultAsync Method

Definition

Performs all the queued writes, in sequence, writing the data to the device. Once a transaction object has been committed, no further operations are possible on the GattReliableWriteTransaction object.

public : IAsyncOperation<GattWriteResult> CommitWithResultAsync()
IAsyncOperation<GattWriteResult> CommitWithResultAsync() const;
public IAsyncOperation<GattWriteResult> CommitWithResultAsync()
Public Function CommitWithResultAsync() As IAsyncOperation(Of GattWriteResult)
Windows.Devices.Bluetooth.GenericAttributeProfile.GattReliableWriteTransaction.commitWithResultAsync().done( /* Your success and error handlers */ );

Returns

An asynchronous operation that completes with a GattWriteResult object.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
Capabilities
bluetooth