共用方式為


ClientCertificateManager.ApplyCertificatesToWebRequest 方法 (HttpWebRequest, X509Certificate2Collection)

命名空間:  Microsoft.TeamFoundation.Client
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Public Shared Sub ApplyCertificatesToWebRequest ( _
    request As HttpWebRequest, _
    certificates As X509Certificate2Collection _
)
public static void ApplyCertificatesToWebRequest(
    HttpWebRequest request,
    X509Certificate2Collection certificates
)

參數

.NET Framework 安全性

請參閱

參考

ClientCertificateManager 類別

ApplyCertificatesToWebRequest 多載

Microsoft.TeamFoundation.Client 命名空間