NETunnelProvider.SetTunnelNetworkSettingsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.