Partilhar via


NetworkOperatorTetheringManager.GetTetheringCapability(String) Método

Definição

Indica se um dispositivo é capaz de criar uma rede de conexão. Os valores possíveis são definidos por 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

Parâmetros

networkAccountId
String

Platform::String

winrt::hstring

A ID da conta de rede.

Retornos

Os recursos de tethering de uma conta de rede.

Requisitos do Windows

Funcionalidades do aplicativo
wiFiControl

Comentários

Sempre chame GetTetheringCapability antes da criação da rede de tethering usando CreateFromNetworkAccountId para primeiro confirmar que o sistema é capaz de criar uma rede de tethering.

Aplica-se a