NEVpnManager.LoadFromPreferences(Action<NSError>) Method

Definition

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

[Foundation.Export("loadFromPreferencesWithCompletionHandler:")]
public virtual void LoadFromPreferences (Action<Foundation.NSError> completionHandler);
abstract member LoadFromPreferences : Action<Foundation.NSError> -> unit
override this.LoadFromPreferences : Action<Foundation.NSError> -> unit

Parameters

completionHandler
Action<NSError>
Attributes

Applies to