Share via


Propriété ServiceConfiguration.ServiceCertificate

Gets or sets the service certificate.

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

Utilisation

    Dim instance As ServiceConfiguration
Dim value As X509Certificate2

value = instance.ServiceCertificate

instance.ServiceCertificate = value

Syntaxe

'Déclaration
Public Property ServiceCertificate As X509Certificate2
public X509Certificate2 ServiceCertificate { get; set; }
public:
property X509Certificate2^ ServiceCertificate {
    X509Certificate2^ get ();
    void set (X509Certificate2^ value);
}
/** @property */
public X509Certificate2 get_ServiceCertificate ()

/** @property */
public void set_ServiceCertificate (X509Certificate2 value)
public function get ServiceCertificate () : X509Certificate2

public function set ServiceCertificate (value : X509Certificate2)

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