X509CertificateInitiatorClientCredential.Certificate 속성

정의

클라이언트에 응답할 때 해당 서비스를 나타내는 데 사용할 인증서를 가져오거나 설정합니다.

public:
 property System::Security::Cryptography::X509Certificates::X509Certificate2 ^ Certificate { System::Security::Cryptography::X509Certificates::X509Certificate2 ^ get(); void set(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ value); };
public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get; set; }
member this.Certificate : System.Security.Cryptography.X509Certificates.X509Certificate2 with get, set
Public Property Certificate As X509Certificate2

속성 값

X509Certificate2

클라이언트에 응답할 때 해당 서비스를 나타내는 데 사용할 X509Certificate2입니다.

예외

자격 증명이 읽기 전용일 때 set 메서드를 사용하는 경우

설명

Windows Communication Foundation (WCF) 프록시에는 첫 번째 호출이 수행 될 때를 ClientCredentials 읽기 전용으로 설정 됩니다. 그 후에 set 메서드를 호출하면 InvalidOperationException에서 수행됩니다.

적용 대상