ChannelFactoryBase<TChannel>.OnCreateChannel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- address
- EndpointAddress
The EndpointAddress of the remote endpoint to which the channel sends messages.
- via
- Uri
The Uri that contains the transport address to which messages are sent on the output channel.
Returns
TChannel
A channel of type TChannel
with the specified addresses.
Remarks
This method is called by CreateChannel when invoked.
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.