اقرأ باللغة الإنجليزية

مشاركة عبر


UserValidator<TUser>.ValidateAsync Method

Definition

Validates the specified user as an asynchronous operation.

C#
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> ValidateAsync (Microsoft.AspNetCore.Identity.UserManager<TUser> manager, TUser user);

Parameters

manager
UserManager<TUser>

The UserManager<TUser> that can be used to retrieve user properties.

user
TUser

The user to validate.

Returns

The Task that represents the asynchronous operation, containing the IdentityResult of the validation operation.

Implements

Applies to

منتج الإصدارات
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0