共用方式為


GattDeviceService.GetIncludedServicesAsync 方法

定義

多載

GetIncludedServicesAsync()

取得與此 GattDeviceService 實例相關聯的內含服務。

GetIncludedServicesAsync(BluetoothCacheMode)

取得與此 GattDeviceService 實例相關聯的內含服務。

GetIncludedServicesAsync()

取得與此 GattDeviceService 實例相關聯的內含服務。

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)

傳回

使用 GattDeviceServicesResult 物件完成的非同步作業。

屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
應用程式功能
bluetooth

適用於

GetIncludedServicesAsync(BluetoothCacheMode)

取得與此 GattDeviceService 實例相關聯的內含服務。

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)

參數

cacheMode
BluetoothCacheMode

快取模式。

傳回

使用 GattDeviceServicesResult 物件完成的非同步作業。

屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
應用程式功能
bluetooth

適用於