IdentityResult.Failed(IdentityError[]) Metoda

Definice

Vytvoří IdentityResult indikující neúspěšnou operaci identity se seznamem, pokud errors je to možné.

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

Parametry

errors
IdentityError[]

Volitelná pole IdentityError, která způsobila selhání operace.

Návraty

IdentityResult

Označuje IdentityResult neúspěšnou operaci identity se seznamem, pokud errors je to možné.

Platí pro