LAContext.EvaluatePolicyAsync(LAPolicy, String) Method

Definition

Evaluates the specified access control policy.

public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> EvaluatePolicyAsync (LocalAuthentication.LAPolicy policy, string localizedReason);
abstract member EvaluatePolicyAsync : LocalAuthentication.LAPolicy * string -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.EvaluatePolicyAsync : LocalAuthentication.LAPolicy * string -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

policy
LAPolicy
localizedReason
String

Returns

A task that represents the asynchronous EvaluatePolicy operation. The value of the TResult parameter is a LocalAuthentication.LAContextReplyHandler.

Remarks

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