Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

X509CertificateEndpointIdentity Constructor (X509Certificate2^)

 

Initializes a new instance of a X509CertificateEndpointIdentity class using an existing certificate.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
X509CertificateEndpointIdentity(
	X509Certificate2^ certificate
)

Parameters

certificate
Type: System.Security.Cryptography.X509Certificates::X509Certificate2^

The certificate to clone.

Exception Condition
ArgumentNullException

certificate is null.

The certificate is added to a collection of certificates.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft