다음을 통해 공유


IChannelFactory<TChannel>.CreateChannel Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone CreateChannel(EndpointAddress) Creates a channel of a specified type to a specified endpoint address.
Public methodSupported by Silverlight for Windows Phone CreateChannel(EndpointAddress, Uri) Creates a channel of a specified type to a specified endpoint address and transport address to which messages are sent.

Top

Remarks

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.