Factory Base<TChannel>.On Create Channel(EndpointAddress, Uri) Method
When implemented in a derived class, provides an extensibility point when creating channels.
protected: abstract TChannel OnCreateChannel(System::ServiceModel::EndpointAddress ^ address, Uri ^ via);
protected abstract TChannel OnCreateChannel (System.ServiceModel.EndpointAddress address, Uri via);
abstract member OnCreateChannel : System.ServiceModel.EndpointAddress * Uri -> 'Channel
Protected MustOverride Function OnCreateChannel (address As EndpointAddress, via As Uri) As TChannel
The EndpointAddress of the remote endpoint to which the channel sends messages.
The Uri that contains the transport address to which messages are sent on the output channel.
A channel of type
TChannel with the specified addresses.
This method is called by CreateChannel when invoked.