共用方式為


HttpsConnectionAdapterOptions.ClientCertificateValidation 屬性

定義

指定將在驗證期間叫用的其他用戶端憑證驗證回呼。 如果在 AllowAnyClientCertificate() 設定此回呼之後呼叫,將會忽略此動作。

public:
 property Func<System::Security::Cryptography::X509Certificates::X509Certificate2 ^, System::Security::Cryptography::X509Certificates::X509Chain ^, System::Net::Security::SslPolicyErrors, bool> ^ ClientCertificateValidation { Func<System::Security::Cryptography::X509Certificates::X509Certificate2 ^, System::Security::Cryptography::X509Certificates::X509Chain ^, System::Net::Security::SslPolicyErrors, bool> ^ get(); void set(Func<System::Security::Cryptography::X509Certificates::X509Certificate2 ^, System::Security::Cryptography::X509Certificates::X509Chain ^, System::Net::Security::SslPolicyErrors, bool> ^ value); };
public Func<System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors,bool> ClientCertificateValidation { get; set; }
public Func<System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.X509Certificates.X509Chain?,System.Net.Security.SslPolicyErrors,bool>? ClientCertificateValidation { get; set; }
member this.ClientCertificateValidation : Func<System.Security.Cryptography.X509Certificates.X509Certificate2, System.Security.Cryptography.X509Certificates.X509Chain, System.Net.Security.SslPolicyErrors, bool> with get, set
Public Property ClientCertificateValidation As Func(Of X509Certificate2, X509Chain, SslPolicyErrors, Boolean)

屬性值

適用於