WSHttpBinding.BuildChannelFactory<'TChannel> Method (BindingParameterCollection)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

override BuildChannelFactory<'TChannel> : 
        parameters:BindingParameterCollection -> IChannelFactory<'TChannel>


Type: System.ServiceModel.Channels.BindingParameterCollection

Specifies the requirements for the channel factory built.

Return Value

Type: System.ServiceModel.Channels.IChannelFactory<'TChannel>

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

Type Parameters


The type of channel the channel factory produces.

.NET Framework
Available since 4.5
Return to top