Freigeben über


NetworkOperatorTetheringSessionAccessPointConfiguration.IsBandSupportedAsync Methode

Definition

Ruft asynchron einen Wert ab, der angibt, ob der Wi-Fi-Adapter das Konfigurieren des Tethering-Hotspots mit einem bestimmten Frequenzband zulässt. Ähnlich wie 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)

Parameter

band
TetheringWiFiBand

Gibt das Frequenzband an, für das eine Abfrage ausgeführt werden soll.

Gibt zurück

Ein asynchrones Vorgangsobjekt, das nach Abschluss den Wert true enthält, wenn das Frequenzband unterstützt wird, andernfalls false.

Attribute

Windows-Anforderungen

App-Funktionen
wiFiControl

Gilt für: