共用方式為


HttpTransportSecurity.ConfigureTransportProtectionAndAuthentication 方法

定義

public:
 static void ConfigureTransportProtectionAndAuthentication(System::ServiceModel::Channels::HttpsTransportBindingElement ^ https, System::ServiceModel::HttpTransportSecurity ^ transportSecurity);
public static void ConfigureTransportProtectionAndAuthentication (System.ServiceModel.Channels.HttpsTransportBindingElement https, System.ServiceModel.HttpTransportSecurity transportSecurity);
static member ConfigureTransportProtectionAndAuthentication : System.ServiceModel.Channels.HttpsTransportBindingElement * System.ServiceModel.HttpTransportSecurity -> unit
Public Shared Sub ConfigureTransportProtectionAndAuthentication (https As HttpsTransportBindingElement, transportSecurity As HttpTransportSecurity)

參數

transportSecurity
HttpTransportSecurity

適用於