Share via


GattCharacteristic.GetDescriptorsAsync Method

Definition

Overloads

GetDescriptorsAsync()

Returns the descriptors for this GattCharacteristic instance.

GetDescriptorsAsync(BluetoothCacheMode)

Returns the descriptors with the specified cache mode for this GattCharacteristic instance.

GetDescriptorsAsync()

Returns the descriptors for this GattCharacteristic instance.

public:
 virtual IAsyncOperation<GattDescriptorsResult ^> ^ GetDescriptorsAsync() = GetDescriptorsAsync;
/// [Windows.Foundation.Metadata.Overload("GetDescriptorsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDescriptorsResult> GetDescriptorsAsync();
[Windows.Foundation.Metadata.Overload("GetDescriptorsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDescriptorsResult> GetDescriptorsAsync();
function getDescriptorsAsync()
Public Function GetDescriptorsAsync () As IAsyncOperation(Of GattDescriptorsResult)

Returns

An asynchronous operation that completes with the descriptors for this GattCharacteristic instance.

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

GetDescriptorsAsync(BluetoothCacheMode)

Returns the descriptors with the specified cache mode for this GattCharacteristic instance.

public:
 virtual IAsyncOperation<GattDescriptorsResult ^> ^ GetDescriptorsAsync(BluetoothCacheMode cacheMode) = GetDescriptorsAsync;
/// [Windows.Foundation.Metadata.Overload("GetDescriptorsWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDescriptorsResult> GetDescriptorsAsync(BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetDescriptorsWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDescriptorsResult> GetDescriptorsAsync(BluetoothCacheMode cacheMode);
function getDescriptorsAsync(cacheMode)
Public Function GetDescriptorsAsync (cacheMode As BluetoothCacheMode) As IAsyncOperation(Of GattDescriptorsResult)

Parameters

cacheMode
BluetoothCacheMode

The cache mode.

Returns

An asynchronous operation that completes with the descriptors.

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