Partager via


X509CertificateValidationElement.CertificateValidationMode Propriété

Définition

Obtient ou définit le mode de validation du certificat.

public:
 property System::ServiceModel::Security::X509CertificateValidationMode CertificateValidationMode { System::ServiceModel::Security::X509CertificateValidationMode get(); void set(System::ServiceModel::Security::X509CertificateValidationMode value); };
[System.Configuration.ConfigurationProperty("certificateValidationMode", DefaultValue=System.ServiceModel.Security.X509CertificateValidationMode.PeerOrChainTrust, IsRequired=false)]
public System.ServiceModel.Security.X509CertificateValidationMode CertificateValidationMode { get; set; }
[<System.Configuration.ConfigurationProperty("certificateValidationMode", DefaultValue=System.ServiceModel.Security.X509CertificateValidationMode.PeerOrChainTrust, IsRequired=false)>]
member this.CertificateValidationMode : System.ServiceModel.Security.X509CertificateValidationMode with get, set
Public Property CertificateValidationMode As X509CertificateValidationMode

Valeur de propriété

Mode de validation du certificat. La valeur par défaut est PeerOrChainTrust.

Attributs

Remarques

Cette propriété est facultative. Il représente l’attribut certificateValidationMode de l’élément <certificateValidation> .

S’applique à