IChannelFactory(Of TChannel).CreateChannel Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a channel of a specified type to a specified endpoint address.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
CreateChannel(EndpointAddress) | Creates a channel of a specified type to a specified endpoint address. |
|
CreateChannel(EndpointAddress, Uri) | Creates a channel of a specified type to a specified endpoint address and transport address to which messages are sent. |
Use the CreateChannel(EndpointAddress, Uri) overload to distinguish the address to which the message is initially sent from the ultimate destination when you want to do manual routing. Note that any channels created by this channel factory are closed when the channel factory is closed.