IdentityResult.Failed(IdentityError[]) 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.
Creates an IdentityResult indicating a failed identity operation, with a list of errors
if applicable.
public:
static Microsoft::AspNetCore::Identity::IdentityResult ^ Failed(... cli::array <Microsoft::AspNetCore::Identity::IdentityError ^> ^ errors);
public static Microsoft.AspNetCore.Identity.IdentityResult Failed (params Microsoft.AspNetCore.Identity.IdentityError[] errors);
static member Failed : Microsoft.AspNetCore.Identity.IdentityError[] -> Microsoft.AspNetCore.Identity.IdentityResult
Public Shared Function Failed (ParamArray errors As IdentityError()) As IdentityResult
Parameters
- errors
- IdentityError[]
An optional array of IdentityErrors which caused the operation to fail.
Returns
An IdentityResult indicating a failed identity operation, with a list of errors
if applicable.