Share via


NETunnelProvider.SetTunnelNetworkSettingsAsync Method

Definition

Updates the network settings for the tunnel.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task SetTunnelNetworkSettingsAsync(NetworkExtension.NETunnelNetworkSettings? tunnelNetworkSettings);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetTunnelNetworkSettingsAsync : NetworkExtension.NETunnelNetworkSettings -> System.Threading.Tasks.Task
override this.SetTunnelNetworkSettingsAsync : NetworkExtension.NETunnelNetworkSettings -> System.Threading.Tasks.Task

Parameters

tunnelNetworkSettings
NETunnelNetworkSettings

Returns

A task that represents the asynchronous SetTunnelNetworkSettings operation

Attributes

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