Partager via


HttpsConnectionAdapterOptions.ClientCertificateValidation Propriété

Définition

Spécifie un rappel pour la validation de certificat client supplémentaire qui sera appelée lors de l’authentification. Cela sera ignoré si AllowAnyClientCertificate() est appelé après la définition de ce rappel.

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)

Valeur de propriété

S’applique à