Compartilhar via


OpenIdConnectEvents.OnAuthenticationFailed Propriedade

Definição

É invocado se forem lançadas exceções durante o processamento da solicitação. As exceções serão relançadas após esse evento, a menos que sejam suprimidas.

public:
 property Func<Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthenticationFailedContext ^, System::Threading::Tasks::Task ^> ^ OnAuthenticationFailed { Func<Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthenticationFailedContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthenticationFailedContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext,System.Threading.Tasks.Task> OnAuthenticationFailed { get; set; }
member this.OnAuthenticationFailed : Func<Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext, System.Threading.Tasks.Task> with get, set
Public Property OnAuthenticationFailed As Func(Of AuthenticationFailedContext, Task)

Valor da propriedade

Aplica-se a