ChannelFactoryBase(Of TChannel).CreateChannel Method (EndpointAddress)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a particular type of channel with a specified endpoint address.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- address
- Type: System.ServiceModel.EndpointAddress
The EndpointAddress of the remote endpoint to which the channel sends messages.
Implements
IChannelFactory(Of TChannel).CreateChannel(EndpointAddress)| Exception | Condition |
|---|---|
| ArgumentNullException | address is Nothing. |
This method calls OnCreateChannel(EndpointAddress, Uri) when invoked. This method cannot be overridden by a derived class.
This method uses Uri as the transport address to which messages are sent on the output channel.
Show: