GattReliableWriteTransaction.CommitAsync 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<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)

Returns

The object used to manage the asynchronous operation, which, upon completion, will return the status of the asynchronous operation.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to