BluetoothDevice.GetRfcommServicesAsync 메서드

정의

오버로드

GetRfcommServicesAsync()

원격 Bluetooth 디바이스에서 모든 Rfcomm Services를 검색합니다.

GetRfcommServicesAsync(BluetoothCacheMode)

원격 Bluetooth 디바이스에서 캐시된 모든 Rfcomm Services를 검색합니다.

GetRfcommServicesAsync()

원격 Bluetooth 디바이스에서 모든 Rfcomm Services를 검색합니다.

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)

반환

비동기 작업이 완료되면 RfcommDeviceServicesResult 개체를 반환합니다 .

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)
앱 기능
bluetooth

추가 정보

적용 대상

GetRfcommServicesAsync(BluetoothCacheMode)

원격 Bluetooth 디바이스에서 캐시된 모든 Rfcomm Services를 검색합니다.

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)

매개 변수

cacheMode
BluetoothCacheMode

캐시 모드입니다.

반환

비동기 작업이 완료되면 RfcommDeviceServicesResult 개체를 반환합니다 .

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)
앱 기능
bluetooth

추가 정보

적용 대상