RfcommDeviceService.GetSdpRawAttributesAsync 方法

定义

重载

GetSdpRawAttributesAsync()

获取 RFCOMM 服务实例的缓存 SDP 属性。

GetSdpRawAttributesAsync(BluetoothCacheMode)

获取 RFCOMM 服务实例的 SDP 属性。

GetSdpRawAttributesAsync()

获取 RFCOMM 服务实例的缓存 SDP 属性。

public:
 virtual IAsyncOperation<IMapView<unsigned int, IBuffer ^> ^> ^ GetSdpRawAttributesAsync() = GetSdpRawAttributesAsync;
/// [Windows.Foundation.Metadata.Overload("GetSdpRawAttributesAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IMapView<uint32_t, IBuffer const&>> GetSdpRawAttributesAsync();
[Windows.Foundation.Metadata.Overload("GetSdpRawAttributesAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyDictionary<uint,IBuffer>> GetSdpRawAttributesAsync();
function getSdpRawAttributesAsync()
Public Function GetSdpRawAttributesAsync () As IAsyncOperation(Of IReadOnlyDictionary(Of UInteger, IBuffer))

返回

IAsyncOperation<IMapView<UInt32,IBuffer>>

IAsyncOperation<IReadOnlyDictionary<UInt32,IBuffer>>

Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IMapView<unsigned int,Windows.Storage.Streams.IBuffer>>

IAsyncOperation<IMapView<uint32_t,IBuffer>>

RFCOMM 服务实例的 SDP 属性。

属性

Windows 要求

应用功能
bluetooth

另请参阅

适用于

GetSdpRawAttributesAsync(BluetoothCacheMode)

获取 RFCOMM 服务实例的 SDP 属性。

public:
 virtual IAsyncOperation<IMapView<unsigned int, IBuffer ^> ^> ^ GetSdpRawAttributesAsync(BluetoothCacheMode cacheMode) = GetSdpRawAttributesAsync;
/// [Windows.Foundation.Metadata.Overload("GetSdpRawAttributesWithCacheModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IMapView<uint32_t, IBuffer const&>> GetSdpRawAttributesAsync(BluetoothCacheMode const& cacheMode);
[Windows.Foundation.Metadata.Overload("GetSdpRawAttributesWithCacheModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyDictionary<uint,IBuffer>> GetSdpRawAttributesAsync(BluetoothCacheMode cacheMode);
function getSdpRawAttributesAsync(cacheMode)
Public Function GetSdpRawAttributesAsync (cacheMode As BluetoothCacheMode) As IAsyncOperation(Of IReadOnlyDictionary(Of UInteger, IBuffer))

参数

cacheMode
BluetoothCacheMode

指示应从缓存还是从设备检索 SDP 属性。

返回

IAsyncOperation<IMapView<UInt32,IBuffer>>

IAsyncOperation<IReadOnlyDictionary<UInt32,IBuffer>>

Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IMapView<unsigned int,Windows.Storage.Streams.IBuffer>>

IAsyncOperation<IMapView<uint32_t,IBuffer>>

RFCOMM 服务实例的 SDP 属性。

属性

Windows 要求

应用功能
bluetooth

另请参阅

适用于