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 ()
.NET Framework (current version)
Initializes a new instance of the ChannelFactory<TChannel> class.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
This example shows how to create a new object of the ChannelFactory<TChannel> class with the IRequestChannel interface.
EndpointAddress address = new EndpointAddress("http://localhost:8000/ChannelApp"); ChannelFactory<IRequestChannel> factory = new ChannelFactory<IRequestChannel>("MyEndpoint", address);
.NET Framework
Available since 3.0
Available since 3.0
Show: