Share via


NETunnelProviderManager.LoadAllFromPreferences Method

Definition

Loads all of the calling app's VPN configurations from the Network Extension preferences and runs a completion handler when the operation is complete.

[Foundation.Export("loadAllFromPreferencesWithCompletionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void LoadAllFromPreferences(Action<Foundation.NSArray,Foundation.NSError> completionHandler);
[<Foundation.Export("loadAllFromPreferencesWithCompletionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member LoadAllFromPreferences : Action<Foundation.NSArray, Foundation.NSError> -> unit

Parameters

completionHandler
Action<NSArray,NSError>
Attributes

Applies to