LAContext.EvaluatePolicyAsync(LAPolicy, String) 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.
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.