Skip to main content
GattReliableWriteTransaction class

Performs GATT reliable writes on the Bluetooth LE device, in the form of a transaction write operation.

Syntax


var gattReliableWriteTransaction = new Windows.Devices.Bluetooth.GenericAttributeProfile.GattReliableWriteTransaction();

public sealed class GattReliableWriteTransaction

Public NotInheritable Class GattReliableWriteTransaction

public ref class GattReliableWriteTransaction sealed 

Members

The GattReliableWriteTransaction class has these types of members:

Constructors

The GattReliableWriteTransaction class has these constructors.

ConstructorDescription
GattReliableWriteTransaction Creates a new GattReliableWriteTransaction object.

 

Methods

The GattReliableWriteTransaction class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
CommitAsync 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.
WriteValue Adds a new write operation to the transaction object.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Bluetooth.GenericAttributeProfile
Windows::Devices::Bluetooth::GenericAttributeProfile [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Bluetooth.GenericAttributeProfile
Windows::Devices::Bluetooth::GenericAttributeProfile [C++]

Metadata

Windows.winmd

Attributes

[ DualApiPartition()]
[ MarshalingBehavior(Agile)]
[ Threading(Both)]
[ Version(0x06030000)]

See also

Object