OpenIdConnectEvents.OnAuthenticationFailed 属性     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在处理请求期间引发异常时调用。 在发生此事件后将重新引发异常,除非已抑制这些异常。
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)