Language

BluetoothDevice.GetRfcommServicesForIdAsync メソッド

定義

オーバーロード

Name 説明
GetRfcommServicesForIdAsync(RfcommServiceId)

指定した RfcommServiceId と一致するリモート Bluetooth デバイス上のすべての Rfcomm サービスを取得します。

GetRfcommServicesForIdAsync(RfcommServiceId, BluetoothCacheMode)

指定した RfcommServiceId と一致するリモート Bluetooth デバイス上のすべてのキャッシュ された Rfcomm サービスを取得します。

GetRfcommServicesForIdAsync(RfcommServiceId)

指定した RfcommServiceId と一致するリモート Bluetooth デバイス上のすべての Rfcomm サービスを取得します。

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 サービスを取得します。

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

関連項目

適用対象