Partager via


Propriété ServiceConfiguration.CertificateValidator

Gets or sets the certificate validator used by handlers to validate issuer certificates.

Espace de noms: Microsoft.IdentityModel.Configuration
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim instance As ServiceConfiguration
Dim value As X509CertificateValidator

value = instance.CertificateValidator

instance.CertificateValidator = value

Syntaxe

'Déclaration
Public Property CertificateValidator As X509CertificateValidator
public X509CertificateValidator CertificateValidator { get; set; }
public:
property X509CertificateValidator^ CertificateValidator {
    X509CertificateValidator^ get ();
    void set (X509CertificateValidator^ value);
}
/** @property */
public X509CertificateValidator get_CertificateValidator ()

/** @property */
public void set_CertificateValidator (X509CertificateValidator value)
public function get CertificateValidator () : X509CertificateValidator

public function set CertificateValidator (value : X509CertificateValidator)

Exceptions

Type d'exception Condition

Cohérence de thread

Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Voir aussi

Référence

Classe ServiceConfiguration
Membres ServiceConfiguration
Espace de noms Microsoft.IdentityModel.Configuration