Partager via


OpenIdConnectEvents.OnAuthenticationFailed Propriété

Définition

Appelé si des exceptions sont levées pendant le traitement de la demande. Les exceptions sont de nouveau levées après cet événement, sauf si elles ont été supprimées.

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)

Valeur de propriété

S’applique à