ChannelFactory<TChannel>.CreateChannel Method (Binding, EndpointAddress, Uri)
Creates a channel of a specified type that is used to send messages to a service endpoint at a specified transport address that is configured with a specified binding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public static TChannel CreateChannel( Binding binding, EndpointAddress endpointAddress, Uri via )
- Type: System.ServiceModel.EndpointAddress
The EndpointAddress that provides the location of the service.