OpenIdConnectEvents.OnAuthenticationFailed 属性

定义

在处理请求期间引发异常时调用。 在发生此事件后将重新引发异常,除非已抑制这些异常。

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)

属性值

适用于