GattLocalCharacteristic.CreateDescriptorAsync(Guid, GattLocalDescriptorParameters) Method

Definition

Creates descriptor for this local characteristic.

[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattLocalDescriptorResult> CreateDescriptorAsync(Guid descriptorUuid, GattLocalDescriptorParameters parameters);
function createDescriptorAsync(descriptorUuid, parameters)
Public Function CreateDescriptorAsync (descriptorUuid As Guid, parameters As GattLocalDescriptorParameters) As IAsyncOperation(Of GattLocalDescriptorResult)

Parameters

descriptorUuid
Guid

The descriptor UUID.

parameters
GattLocalDescriptorParameters

The parameters for the descriptor.

Returns

IAsyncOperation<GattLocalDescriptorResult>

An asynchronous operation that completes with a GattLocalDescriptorResult object.

Attributes

Windows 10 requirements

App capabilities
bluetooth

Applies to