共用方式為


BasicHttpsBinding.BuildChannelFactory<TChannel> 方法

定義

在用戶端上建置通道處理站堆疊,這個堆疊會建立指定的通道型別。

public:
generic <typename TChannel>
 override System::ServiceModel::Channels::IChannelFactory<TChannel> ^ BuildChannelFactory(System::ServiceModel::Channels::BindingParameterCollection ^ parameters);
public override System.ServiceModel.Channels.IChannelFactory<TChannel> BuildChannelFactory<TChannel> (System.ServiceModel.Channels.BindingParameterCollection parameters);
override this.BuildChannelFactory : System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelFactory<'Channel>
Public Overrides Function BuildChannelFactory(Of TChannel) (parameters As BindingParameterCollection) As IChannelFactory(Of TChannel)

類型參數

TChannel

通道的類型。

參數

parameters
BindingParameterCollection

指定所建置之通道處理站需求的 BindingParameterCollection

傳回

用戶端的通道處理站堆疊。

適用於