Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

GattDeviceService.GetIncludedServicesAsync Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
GetIncludedServicesAsync()

Gets the included services that are associated with this GattDeviceService instance.

GetIncludedServicesAsync(BluetoothCacheMode)

Gets the included services that are associated with this GattDeviceService instance.

GetIncludedServicesAsync()

Gets the included services that are associated with this GattDeviceService instance.

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)

Returns

An asynchronous operation that completes with a GattDeviceServicesResult object.

Attributes

Windows requirements

Requirements Description
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

GetIncludedServicesAsync(BluetoothCacheMode)

Gets the included services that are associated with this GattDeviceService instance.

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)

Parameters

cacheMode
BluetoothCacheMode

The cache mode.

Returns

An asynchronous operation that completes with a GattDeviceServicesResult object.

Attributes

Windows requirements

Requirements Description
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


Feedback

Was this page helpful?