Edit

Share via


NEVpnManager.SaveToPreferencesAsync Method

Definition

Saves the configuration for this VPN manager to the Network Extension preferences and runs a completion handler when the operation completes.

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

Returns

A task that represents the asynchronous SaveToPreferences operation

Remarks

The SaveToPreferencesAsync 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