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: