Compartir a través de


X509CertificateValidationElement.CertificateValidationMode Propiedad

Definición

Obtiene o establece el modo de validación del certificado.

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

Valor de propiedad

Modo de validación del certificado. De manera predeterminada, es PeerOrChainTrust.

Atributos

Comentarios

Esta propiedad es opcional. Representa el certificateValidationMode atributo del <certificateValidation> elemento .

Se aplica a