NETunnelProvider.SetTunnelNetworkSettingsAsync Method

Definition

Updates the network settings for the 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

Parameters

tunnelNetworkSettings
NETunnelNetworkSettings

To be added.This parameter can be .

Returns

A task that represents the asynchronous SetTunnelNetworkSettings operation

Remarks

The SetTunnelNetworkSettingsAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to