共用方式為


NetHttpsBinding.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

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

傳回

TChannel 型別的 IChannelFactory<TChannel>,可滿足集合所指定的功能。

適用於