IChannelFactory<TChannel>.CreateChannel Method (EndpointAddress)

Creates a channel of a specified type to a specified endpoint address.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

TChannel CreateChannel(
	EndpointAddress to


Type: System.ServiceModel.EndpointAddress
The EndpointAddress that provides the location of the service.

Return Value

Type: TChannel
A channel of type TChannel to the specified endpoint address.

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.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions