NEVpnManager.LoadFromPreferencesAsync Method

Definition

Loads the saved VPN configuration from the Network Extension preferences and runs a completion handler when the operation completes.

public virtual System.Threading.Tasks.Task LoadFromPreferencesAsync ();
abstract member LoadFromPreferencesAsync : unit -> System.Threading.Tasks.Task
override this.LoadFromPreferencesAsync : unit -> System.Threading.Tasks.Task

Returns

A task that represents the asynchronous LoadFromPreferences operation

Applies to