Condividi tramite


NETunnelProvider.SetTunnelNetworkSettingsAsync Metodo

Definizione

Aggiornamenti le impostazioni di rete per il tunnel.

public virtual System.Threading.Tasks.Task SetTunnelNetworkSettingsAsync (NetworkExtension.NETunnelNetworkSettings tunnelNetworkSettings);
abstract member SetTunnelNetworkSettingsAsync : NetworkExtension.NETunnelNetworkSettings -> System.Threading.Tasks.Task
override this.SetTunnelNetworkSettingsAsync : NetworkExtension.NETunnelNetworkSettings -> System.Threading.Tasks.Task

Parametri

tunnelNetworkSettings
NETunnelNetworkSettings

Da aggiungere. Questo parametro può essere .

Restituisce

Attività che rappresenta l'operazione SetTunnelNetworkSettings asincrona

Commenti

Il metodo SetTunnelNetworkSettingsAsync è adatto per essere usato con C# asincrono restituendo il controllo al chiamante con un'attività che rappresenta l'operazione.

Da aggiungere.

Si applica a