Share via


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:
 virtual IAsyncOperation<GattWriteResult ^> ^ CommitWithResultAsync() = CommitWithResultAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattWriteResult> CommitWithResultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattWriteResult> CommitWithResultAsync();
function commitWithResultAsync()
Public Function CommitWithResultAsync () As IAsyncOperation(Of GattWriteResult)

Returns

An asynchronous operation that completes with a GattWriteResult object.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
bluetooth

Applies to