共用方式為


CertificateAuthenticationEvents.OnChallenge 屬性

定義

在挑戰傳回給呼叫端之前叫用。

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

屬性值

適用於