BluetoothDevice.GetRfcommServicesForIdAsync 메서드

정의

오버로드

GetRfcommServicesForIdAsync(RfcommServiceId)

지정된 RfcommServiceId와 일치하는 원격 Bluetooth 디바이스에서 모든 Rfcomm Services를 검색합니다.

GetRfcommServicesForIdAsync(RfcommServiceId, BluetoothCacheMode)

지정된 RfcommServiceId와 일치하는 원격 Bluetooth 디바이스에서 캐시된 모든 Rfcomm Services를 검색합니다.

GetRfcommServicesForIdAsync(RfcommServiceId)

지정된 RfcommServiceId와 일치하는 원격 Bluetooth 디바이스에서 모든 Rfcomm Services를 검색합니다.

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)

매개 변수

serviceId
RfcommServiceId

Rfcomm 서비스 ID입니다.

반환

비동기 작업이 완료되면 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

추가 정보

적용 대상

GetRfcommServicesForIdAsync(RfcommServiceId, BluetoothCacheMode)

지정된 RfcommServiceId와 일치하는 원격 Bluetooth 디바이스에서 캐시된 모든 Rfcomm Services를 검색합니다.

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)

매개 변수

serviceId
RfcommServiceId

Rfcomm 서비스 ID입니다.

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

추가 정보

적용 대상