BluetoothDevice.GetRfcommServicesAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| GetRfcommServicesAsync() |
Ruft alle Rfcomm-Dienste auf dem Remote-Bluetooth-Gerät ab. |
| GetRfcommServicesAsync(BluetoothCacheMode) |
Ruft alle zwischengespeicherten Rfcomm-Dienste auf dem Remote-Bluetooth-Gerät ab. |
GetRfcommServicesAsync()
Ruft alle Rfcomm-Dienste auf dem Remote-Bluetooth-Gerät ab.
public:
virtual IAsyncOperation<RfcommDeviceServicesResult ^> ^ GetRfcommServicesAsync() = GetRfcommServicesAsync;
/// [Windows.Foundation.Metadata.Overload("GetRfcommServicesAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync();
[Windows.Foundation.Metadata.Overload("GetRfcommServicesAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync();
function getRfcommServicesAsync()
Public Function GetRfcommServicesAsync () As IAsyncOperation(Of RfcommDeviceServicesResult)
Gibt zurück
Nach Abschluss des asynchronen Vorgangs wird ein RfcommDeviceServicesResult - Objekt zurückgegeben.
- Attribute
Windows-Anforderungen
| Anforderungen | Beschreibung |
|---|---|
| Gerätefamilie |
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)
|
| App-Funktionen |
bluetooth
|
Siehe auch
Gilt für:
GetRfcommServicesAsync(BluetoothCacheMode)
Ruft alle zwischengespeicherten Rfcomm-Dienste auf dem Remote-Bluetooth-Gerät ab.
public:
virtual IAsyncOperation<RfcommDeviceServicesResult ^> ^ GetRfcommServicesAsync(BluetoothCacheMode cacheMode) = GetRfcommServicesAsync;
/// [Windows.Foundation.Metadata.Overload("GetRfcommServicesWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync(BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetRfcommServicesWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<RfcommDeviceServicesResult> GetRfcommServicesAsync(BluetoothCacheMode cacheMode);
function getRfcommServicesAsync(cacheMode)
Public Function GetRfcommServicesAsync (cacheMode As BluetoothCacheMode) As IAsyncOperation(Of RfcommDeviceServicesResult)
Parameter
- cacheMode
- BluetoothCacheMode
Der Cachemodus.
Gibt zurück
Nach Abschluss des asynchronen Vorgangs wird ein RfcommDeviceServicesResult - Objekt zurückgegeben.
- Attribute
Windows-Anforderungen
| Anforderungen | Beschreibung |
|---|---|
| Gerätefamilie |
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)
|
| App-Funktionen |
bluetooth
|