Condividi tramite


NetworkOperatorTetheringManager.GetTetheringCapability(String) Metodo

Definizione

Indica se un dispositivo è in grado di creare una rete di tethering. I valori possibili sono definiti da TetheringCapability.

public:
 static TetheringCapability GetTetheringCapability(Platform::String ^ networkAccountId);
 static TetheringCapability GetTetheringCapability(winrt::hstring const& networkAccountId);
public static TetheringCapability GetTetheringCapability(string networkAccountId);
function getTetheringCapability(networkAccountId)
Public Shared Function GetTetheringCapability (networkAccountId As String) As TetheringCapability

Parametri

networkAccountId
String

Platform::String

winrt::hstring

ID dell'account di rete.

Restituisce

Funzionalità di tethering di un account di rete.

Requisiti Windows

Funzionalità dell'app
wiFiControl

Commenti

Chiamare sempre GetTetheringCapability prima della creazione della rete tethering usando CreateFromNetworkAccountId per verificare prima che il sistema sia in grado di creare una rete di tethering.

Si applica a