ServiceConfiguration.ServiceCertificate Property
Gets or sets the service certificate.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Verwendung
Dim instance As ServiceConfiguration Dim value As X509Certificate2 value = instance.ServiceCertificate instance.ServiceCertificate = value
Syntax
'Declaration
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)
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