Sdílet prostřednictvím


AuthorizationFailure.Failed Metoda

Definice

Přetížení

Failed(IEnumerable<AuthorizationFailureReason>)

Vrátí chybu kvůli Fail(AuthorizationFailureReason) zavolání.

Failed(IEnumerable<IAuthorizationRequirement>)

Vrácení chyby kvůli nesplnění některých požadavků prostřednictvím Succeed(IAuthorizationRequirement).

Failed(IEnumerable<AuthorizationFailureReason>)

Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs

Vrátí chybu kvůli Fail(AuthorizationFailureReason) zavolání.

public static Microsoft.AspNetCore.Authorization.AuthorizationFailure Failed (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.AuthorizationFailureReason> reasons);
static member Failed : seq<Microsoft.AspNetCore.Authorization.AuthorizationFailureReason> -> Microsoft.AspNetCore.Authorization.AuthorizationFailure
Public Shared Function Failed (reasons As IEnumerable(Of AuthorizationFailureReason)) As AuthorizationFailure

Parametry

Návraty

Selhání.

Platí pro

Failed(IEnumerable<IAuthorizationRequirement>)

Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs
Zdroj:
AuthorizationFailure.cs

Vrácení chyby kvůli nesplnění některých požadavků prostřednictvím Succeed(IAuthorizationRequirement).

public:
 static Microsoft::AspNetCore::Authorization::AuthorizationFailure ^ Failed(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ failed);
public static Microsoft.AspNetCore.Authorization.AuthorizationFailure Failed (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> failed);
static member Failed : seq<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> -> Microsoft.AspNetCore.Authorization.AuthorizationFailure
Public Shared Function Failed (failed As IEnumerable(Of IAuthorizationRequirement)) As AuthorizationFailure

Parametry

failed
IEnumerable<IAuthorizationRequirement>

Požadavky, které nebyly splněny.

Návraty

Selhání.

Platí pro