Lingua

BluetoothDevice.GetRfcommServicesForIdAsync Metodo

Definizione

Overload

Nome Descrizione
GetRfcommServicesForIdAsync(RfcommServiceId)

Recupera tutti i servizi Rfcomm nel dispositivo Bluetooth remoto corrispondenti all'oggetto RfcommServiceId specificato.

GetRfcommServicesForIdAsync(RfcommServiceId, BluetoothCacheMode)

Recupera tutti i servizi Rfcomm memorizzati nella cache nel dispositivo Bluetooth remoto corrispondente all'elemento RfcommServiceId specificato.

GetRfcommServicesForIdAsync(RfcommServiceId)

Recupera tutti i servizi Rfcomm nel dispositivo Bluetooth remoto corrispondenti all'oggetto RfcommServiceId specificato.

public:
 virtual IAsyncOperation<RfcommDeviceServicesResult ^> ^ GetRfcommServicesForIdAsync(RfcommServiceId ^ serviceId) = GetRfcommServicesForIdAsync;
/// [Windows.Foundation.Metadata.Overload("GetRfcommServicesForIdAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesForIdAsync(RfcommServiceId const& serviceId);
[Windows.Foundation.Metadata.Overload("GetRfcommServicesForIdAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesForIdAsync(RfcommServiceId serviceId);
function getRfcommServicesForIdAsync(serviceId)
Public Function GetRfcommServicesForIdAsync (serviceId As RfcommServiceId) As IAsyncOperation(Of RfcommDeviceServicesResult)

Parametri

serviceId
RfcommServiceId

ID del servizio Rfcomm.

Valori restituiti

Al termine dell'operazione asincrona, restituisce un oggetto RfcommDeviceServicesResult .

Attributi

Requisiti Windows

Requisiti Descrizione
Famiglia di dispositivi
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)
Funzionalità dell'app
bluetooth

Vedi anche

Si applica a

GetRfcommServicesForIdAsync(RfcommServiceId, BluetoothCacheMode)

Recupera tutti i servizi Rfcomm memorizzati nella cache nel dispositivo Bluetooth remoto corrispondente all'elemento RfcommServiceId specificato.

public:
 virtual IAsyncOperation<RfcommDeviceServicesResult ^> ^ GetRfcommServicesForIdAsync(RfcommServiceId ^ serviceId, BluetoothCacheMode cacheMode) = GetRfcommServicesForIdAsync;
/// [Windows.Foundation.Metadata.Overload("GetRfcommServicesForIdWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesForIdAsync(RfcommServiceId const& serviceId, BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetRfcommServicesForIdWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesForIdAsync(RfcommServiceId serviceId, BluetoothCacheMode cacheMode);
function getRfcommServicesForIdAsync(serviceId, cacheMode)
Public Function GetRfcommServicesForIdAsync (serviceId As RfcommServiceId, cacheMode As BluetoothCacheMode) As IAsyncOperation(Of RfcommDeviceServicesResult)

Parametri

serviceId
RfcommServiceId

ID del servizio Rfcomm.

cacheMode
BluetoothCacheMode

Modalità cache.

Valori restituiti

Al termine dell'operazione asincrona, restituisce un oggetto RfcommDeviceServicesResult .

Attributi

Requisiti Windows

Requisiti Descrizione
Famiglia di dispositivi
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)
Funzionalità dell'app
bluetooth

Vedi anche

Si applica a