Freigeben über


X509CertificateValidationElement.CertificateValidationMode Eigenschaft

Definition

Ruft den Zertifikatvalidierungsmodus ab oder legt ihn fest.

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

Eigenschaftswert

Der Zertifikatüberprüfungsmodus. Der Standardwert ist PeerOrChainTrust.

Attribute

Hinweise

Diese Eigenschaft ist optional. Es stellt das certificateValidationMode Attribut des <certificateValidation> -Elements dar.

Gilt für: