IdentityResultAssert.IsFailure Metoda

Definice

Přetížení

IsFailure(IdentityResult)

Vyhodnotí, že výsledek nebyl úspěšný.

IsFailure(IdentityResult, IdentityError)

Vyhodnotí, že výsledek nebyl úspěšný a že první chyba odpovídá kódu a popisu chyby.

IsFailure(IdentityResult, String)

Vyhodnotí, že výsledek neuspěl a že se jedná o první chybu popisu chyby.

IsFailure(IdentityResult)

Vyhodnotí, že výsledek nebyl úspěšný.

public:
 static void IsFailure(Microsoft::AspNetCore::Identity::IdentityResult ^ result);
public static void IsFailure (Microsoft.AspNetCore.Identity.IdentityResult result);
static member IsFailure : Microsoft.AspNetCore.Identity.IdentityResult -> unit
Public Shared Sub IsFailure (result As IdentityResult)

Parametry

Platí pro

IsFailure(IdentityResult, IdentityError)

Vyhodnotí, že výsledek nebyl úspěšný a že první chyba odpovídá kódu a popisu chyby.

public:
 static void IsFailure(Microsoft::AspNetCore::Identity::IdentityResult ^ result, Microsoft::AspNetCore::Identity::IdentityError ^ error);
public static void IsFailure (Microsoft.AspNetCore.Identity.IdentityResult result, Microsoft.AspNetCore.Identity.IdentityError error);
static member IsFailure : Microsoft.AspNetCore.Identity.IdentityResult * Microsoft.AspNetCore.Identity.IdentityError -> unit
Public Shared Sub IsFailure (result As IdentityResult, error As IdentityError)

Parametry

Platí pro

IsFailure(IdentityResult, String)

Vyhodnotí, že výsledek neuspěl a že se jedná o první chybu popisu chyby.

public:
 static void IsFailure(Microsoft::AspNetCore::Identity::IdentityResult ^ result, System::String ^ error);
public static void IsFailure (Microsoft.AspNetCore.Identity.IdentityResult result, string error);
static member IsFailure : Microsoft.AspNetCore.Identity.IdentityResult * string -> unit
Public Shared Sub IsFailure (result As IdentityResult, error As String)

Parametry

error
String

Platí pro