語言

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

規範建造渠道工廠需求的參數集合。

傳回

符合集合指定特徵的通道工廠。

適用於