BuildChannelFactory(TChannel) Method (BindingParameterCollection)
Collapse the table of content
Expand the table of content

NetHttpBinding.BuildChannelFactory<TChannel> Method (BindingParameterCollection)

.NET Framework (current version)
 

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)

public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(
	BindingParameterCollection parameters
)

Parameters

parameters
Type: System.ServiceModel.Channels.BindingParameterCollection

The collection of parameters that specifies requirements for the channel factory built.

Return Value

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

The channel factory that satisfies the features specified by the collection.

Type Parameters

TChannel

The type of channel the channel factory produces.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show:
© 2016 Microsoft