共用方式為


WebTestRequest.ClientCertificates 屬性

取得或設定參考,以允許使用者使用 X.509 SSL 憑證進行驗證。

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
Public Property ClientCertificates As X509CertificateCollection
    Get
    Set
public X509CertificateCollection ClientCertificates { get; set; }
public:
property X509CertificateCollection^ ClientCertificates {
    X509CertificateCollection^ get ();
    void set (X509CertificateCollection^ value);
}
member ClientCertificates : X509CertificateCollection with get, set
function get ClientCertificates () : X509CertificateCollection
function set ClientCertificates (value : X509CertificateCollection)

屬性值

型別:System.Security.Cryptography.X509Certificates.X509CertificateCollection
X509CertificateCollection 集合。

.NET Framework 安全性

請參閱

參考

WebTestRequest 類別

Microsoft.VisualStudio.TestTools.WebTesting 命名空間