CertificateAuthenticationEvents.OnAuthenticationFailed 属性

定义

身份验证失败时,将调用分配给此属性的委托。

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

属性值

适用于