Modifica

Condividi tramite


NETunnelProviderManager.LoadAllFromPreferencesAsync 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.

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.

Applies to