GattDeviceService.GetIncludedServicesAsync Metode

Definisi

Overload

GetIncludedServicesAsync()

Mendapatkan layanan yang disertakan yang terkait dengan instans GattDeviceService ini.

GetIncludedServicesAsync(BluetoothCacheMode)

Mendapatkan layanan yang disertakan yang terkait dengan instans GattDeviceService ini.

GetIncludedServicesAsync()

Mendapatkan layanan yang disertakan yang terkait dengan instans GattDeviceService ini.

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

Mengembalikan

Operasi asinkron yang selesai dengan objek GattDeviceServicesResult.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)
Kemampuan aplikasi
bluetooth

Berlaku untuk

GetIncludedServicesAsync(BluetoothCacheMode)

Mendapatkan layanan yang disertakan yang terkait dengan instans GattDeviceService ini.

public:
 virtual IAsyncOperation<GattDeviceServicesResult ^> ^ GetIncludedServicesAsync(BluetoothCacheMode cacheMode) = GetIncludedServicesAsync;
/// [Windows.Foundation.Metadata.Overload("GetIncludedServicesWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattDeviceServicesResult> GetIncludedServicesAsync(BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetIncludedServicesWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattDeviceServicesResult> GetIncludedServicesAsync(BluetoothCacheMode cacheMode);
function getIncludedServicesAsync(cacheMode)
Public Function GetIncludedServicesAsync (cacheMode As BluetoothCacheMode) As IAsyncOperation(Of GattDeviceServicesResult)

Parameter

cacheMode
BluetoothCacheMode

Mode cache.

Mengembalikan

Operasi asinkron yang selesai dengan objek GattDeviceServicesResult.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)
Kemampuan aplikasi
bluetooth

Berlaku untuk