共用方式為


NetworkOperatorTetheringSessionAccessPointConfiguration.IsBandSupportedAsync 方法

定義

以異步方式取得值,指出 Wi-Fi 配接器是否允許使用特定頻率範圍設定連接熱點。 類似於 NetworkOperatorTetheringAccessPointConfiguration.IsBandSupportedAsync

public:
 virtual IAsyncOperation<bool> ^ IsBandSupportedAsync(TetheringWiFiBand band) = IsBandSupportedAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> IsBandSupportedAsync(TetheringWiFiBand const& band);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> IsBandSupportedAsync(TetheringWiFiBand band);
function isBandSupportedAsync(band)
Public Function IsBandSupportedAsync (band As TetheringWiFiBand) As IAsyncOperation(Of Boolean)

參數

band
TetheringWiFiBand

指定要查詢的頻率範圍。

傳回

異步操作物件,當它完成時,如果支援頻率範圍,則包含值 true ,否則 false為 。

屬性

Windows 需求

應用程式功能
wiFiControl

適用於