共用方式為


GattLocalCharacteristic.CreateDescriptorAsync 方法

定義

建立這個區域特性的描述項。

public:
 virtual IAsyncOperation<GattLocalDescriptorResult ^> ^ CreateDescriptorAsync(Platform::Guid descriptorUuid, GattLocalDescriptorParameters ^ parameters) = CreateDescriptorAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattLocalDescriptorResult> CreateDescriptorAsync(winrt::guid const& descriptorUuid, GattLocalDescriptorParameters const& parameters);
[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)

參數

descriptorUuid
Guid

Platform::Guid

winrt::guid

描述項 UUID。

parameters
GattLocalDescriptorParameters

描述項的參數。

傳回

以 GattLocalDescriptorResult 物件完成的非同步作業。

屬性

Windows 需求

應用程式功能
bluetooth

適用於