BasicHttpsBinding.BuildChannelFactory<TChannel>(BindingParameterCollection) 方法

定义

在客户端上生成通道工厂堆栈,该客户端创建指定类型的通道。Builds the channel factory stack on the client that creates a specified type of channel.

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

通道的类型。The type of channel.

参数

parameters
BindingParameterCollection

BindingParameterCollection,为生成的通道工厂指定要求。The BindingParameterCollection that specifies requirements for the channel factory built.

返回

IChannelFactory<TChannel>

客户端上的通道工厂堆栈。The channel factory stack on the client.

适用于