Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ChannelFactory<TChannel> Constructor (Binding^)

 

Initializes a new instance of the ChannelFactory<TChannel> class.

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

public:
ChannelFactory(
	Binding^ binding
)

Parameters

binding
Type: System.ServiceModel.Channels::Binding^

The Binding specified for the channels produced by the factory.

Use this constructor when you want to pass the binding information programmatically rather than using an application configuration file.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft