NETunnelProviderManager.LoadAllFromPreferencesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads all of the calling app's VPN configurations from the Network Extension preferences and runs a completion handler when the operation is complete.
public static System.Threading.Tasks.Task<Foundation.NSArray> LoadAllFromPreferencesAsync ();
static member LoadAllFromPreferencesAsync : unit -> System.Threading.Tasks.Task<Foundation.NSArray>
Returns
A task that represents the asynchronous LoadAllFromPreferences operation. The value of the TResult parameter is of type System.Action<Foundation.NSArray,Foundation.NSError>.
Remarks
The LoadAllFromPreferencesAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.