The validation mode.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim instance As X509CertificateValidationElement
Dim value As X509CertificateValidationMode
value = instance.ValidationMode
instance.ValidationMode = value
|
Syntax
Visual Basic |
<ConfigurationPropertyAttribute("certificateValidationMode", IsRequired:=False, DefaultValue:=X509CertificateValidationMode.PeerOrChainTrust)> _
<TypeConverterAttribute(GetType(X509CertificateValidationModeConverter))> _
Public Property ValidationMode As X509CertificateValidationMode
|
C# |
[ConfigurationPropertyAttribute("certificateValidationMode", IsRequired=false, DefaultValue=X509CertificateValidationMode.PeerOrChainTrust)]
[TypeConverterAttribute(typeof(X509CertificateValidationModeConverter))]
public X509CertificateValidationMode ValidationMode { get; set; }
|
C++ |
[ConfigurationPropertyAttribute(L"certificateValidationMode", IsRequired=false, DefaultValue=X509CertificateValidationMode::PeerOrChainTrust)]
[TypeConverterAttribute(typeof(X509CertificateValidationModeConverter))]
public:
property X509CertificateValidationMode ValidationMode {
X509CertificateValidationMode get ();
void set (X509CertificateValidationMode value);
}
|
J# |
/** @property */
public X509CertificateValidationMode get_ValidationMode ()
/** @property */
public void set_ValidationMode (X509CertificateValidationMode value)
|
JScript |
public function get ValidationMode () : X509CertificateValidationMode
public function set ValidationMode (value : X509CertificateValidationMode)
|
Exceptions
Remarks
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also