RfcommDeviceService.GetSdpRawAttributesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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))
返回
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 属性。
返回
Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IMapView<unsigned int,Windows.Storage.Streams.IBuffer>>
IAsyncOperation<IMapView<uint32_t,IBuffer>>
RFCOMM 服务实例的 SDP 属性。
- 属性
Windows 要求
应用功能 |
bluetooth
|