Freigeben über


ServiceConfiguration.CertificateValidator Property

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

Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

    Dim instance As ServiceConfiguration
Dim value As X509CertificateValidator

value = instance.CertificateValidator

instance.CertificateValidator = value

Syntax

'Declaration
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)

Ausnahmen

Ausnahmetyp Bedingung

Threadsicherheit

Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

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

Siehe auch

Referenz

ServiceConfiguration Class
ServiceConfiguration Members
Microsoft.IdentityModel.Configuration Namespace