AuthorizationFailure.Failed Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- reasons
- IEnumerable<AuthorizationFailureReason>
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.