Compartir a través de


GattDeviceService.GetIncludedServices(Guid) Método

Definición

Devuelve un vector de servicios incluidos, que se identifican mediante el UUID especificado y pertenecen a esta instancia de GattDeviceService.

Importante

La API GetIncludedServices está en desuso y es posible que no esté disponible en versiones futuras de Windows. En su lugar, use GetIncludedServicesForUuidAsync.

public:
 virtual IVectorView<GattDeviceService ^> ^ GetIncludedServices(Platform::Guid serviceUuid) = GetIncludedServices;
IVectorView<GattDeviceService> GetIncludedServices(winrt::guid const& serviceUuid);
/// [Windows.Foundation.Metadata.Deprecated("Use GetIncludedServicesForUuidAsync instead of GetIncludedServices.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IVectorView<GattDeviceService> GetIncludedServices(winrt::guid const& serviceUuid);
public IReadOnlyList<GattDeviceService> GetIncludedServices(Guid serviceUuid);
[Windows.Foundation.Metadata.Deprecated("Use GetIncludedServicesForUuidAsync instead of GetIncludedServices.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public IReadOnlyList<GattDeviceService> GetIncludedServices(Guid serviceUuid);
function getIncludedServices(serviceUuid)
Public Function GetIncludedServices (serviceUuid As Guid) As IReadOnlyList(Of GattDeviceService)

Parámetros

serviceUuid
Guid

Platform::Guid

winrt::guid

UUID de los servicios incluidos que se van a recuperar.

Devoluciones

Vector de servicios incluidos cuyos UUID coinciden con serviceUuid.

Atributos

Requisitos de Windows

Características de aplicaciones
bluetooth

Se aplica a