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

适用于