共用方式為


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

另請參閱

適用於