Partager via


AuthorizationFailure.Failed Méthode

Définition

Surcharges

Failed(IEnumerable<AuthorizationFailureReason>)

Retourne un échec dû à l’appel Fail(AuthorizationFailureReason) .

Failed(IEnumerable<IAuthorizationRequirement>)

Retourne un échec en raison de certaines conditions requises non remplies via Succeed(IAuthorizationRequirement).

Failed(IEnumerable<AuthorizationFailureReason>)

Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs

Retourne un échec dû à l’appel Fail(AuthorizationFailureReason) .

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

Paramètres

Retours

Échec.

S’applique à

Failed(IEnumerable<IAuthorizationRequirement>)

Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs

Retourne un échec en raison de certaines conditions requises non remplies via 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

Paramètres

failed
IEnumerable<IAuthorizationRequirement>

Les exigences qui n’ont pas été satisfaites.

Retours

Échec.

S’applique à