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
|