ChannelFactory<TChannel>.CreateChannel Method

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() Creates a channel of a specified type to a specified endpoint address.
Public method CreateChannel(EndpointAddress) Creates a channel that is used to send messages to a service at a specific endpoint address.
Protected method Static member CreateChannel(String) Creates a channel that is used to send messages to a service whose endpoint is configured in a specified way.
Public method Static member CreateChannel(Binding, EndpointAddress) Creates a channel of a specified type that is used to send messages to a service endpoint that is configured with a specified binding.
Public method CreateChannel(EndpointAddress, Uri) Creates a channel that is used to send messages to a service at a specific endpoint address through a specified transport address.
Public method Static member CreateChannel(Binding, EndpointAddress, Uri) Creates a channel of a specified type that is used to send messages to a service endpoint at a specified transport address that is configured with a specified binding.
Top

Creates a channel of type TChannel, the generic parameter for the class.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft