Condividi tramite


AuthorizationFailure.Failed Metodo

Definizione

Overload

Failed(IEnumerable<AuthorizationFailureReason>)

Restituisce un errore dovuto alla Fail(AuthorizationFailureReason) chiamata.

Failed(IEnumerable<IAuthorizationRequirement>)

Restituisce un errore a causa di alcuni requisiti non soddisfatti tramite Succeed(IAuthorizationRequirement).

Failed(IEnumerable<AuthorizationFailureReason>)

Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs

Restituisce un errore dovuto alla Fail(AuthorizationFailureReason) chiamata.

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

Parametri

Restituisce

Errore.

Si applica a

Failed(IEnumerable<IAuthorizationRequirement>)

Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs
Origine:
AuthorizationFailure.cs

Restituisce un errore a causa di alcuni requisiti non soddisfatti tramite 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

Parametri

failed
IEnumerable<IAuthorizationRequirement>

Requisiti non soddisfatti.

Restituisce

Errore.

Si applica a