CreateChannel Method
Collapse the table of content
Expand the table of content

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.

  NameDescription
Public method CreateChannel(EndpointAddress) Creates a channel of a specified type to a specified endpoint address.
Public method CreateChannel(EndpointAddress, Uri) Creates a channel of a specified type to a specified endpoint address and transport address to which messages are sent.
Top

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.

Show:
© 2017 Microsoft