Rediger

Del via


WebHttpBinding.BuildChannelFactory<TChannel> Method

Definition

Builds the channel factory stack on the client that creates a specified type of channel and that satisfies the features specified by a collection of binding parameters.

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)

Type Parameters

TChannel

The type of channel the channel factory produces.

Parameters

parameters
BindingParameterCollection

The BindingParameterCollection that specifies requirements for the channel factory built.

Returns

An IChannelFactory<TChannel> of type TChannel that satisfies the features specified by the collection.

Applies to