Partilhar via


AuthorizationFailure.Failed Método

Definição

Sobrecargas

Failed(IEnumerable<AuthorizationFailureReason>)

Retornar uma falha devido a Fail(AuthorizationFailureReason) ser chamado.

Failed(IEnumerable<IAuthorizationRequirement>)

Retornar uma falha devido a alguns requisitos que não estão sendo atendidos por meio de Succeed(IAuthorizationRequirement).

Failed(IEnumerable<AuthorizationFailureReason>)

Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs

Retornar uma falha devido a Fail(AuthorizationFailureReason) ser chamado.

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

Parâmetros

Retornos

A falha.

Aplica-se a

Failed(IEnumerable<IAuthorizationRequirement>)

Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs
Origem:
AuthorizationFailure.cs

Retornar uma falha devido a alguns requisitos que não estão sendo atendidos por meio de 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

Parâmetros

failed
IEnumerable<IAuthorizationRequirement>

Os requisitos que não foram atendidos.

Retornos

A falha.

Aplica-se a