CreateChannel Method (EndpointAddress)
Collapse the table of content
Expand the table of content

ChannelFactory<TChannel>.CreateChannel Method (EndpointAddress)

Creates a channel that is used to send messages to a service at a specific endpoint address.

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

public TChannel CreateChannel(
	EndpointAddress address
)

Parameters

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

Return Value

Type: TChannel
The TChannel of type IChannel created by the factory.

Implements

IChannelFactory<TChannel>.CreateChannel(EndpointAddress)

ExceptionCondition
ArgumentNullException

address is null.

Platform Notes

Silverlight for Windows Phone Silverlight for Windows Phone

This member is present but is not supported on Windows Phone.

Silverlight

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

ADD
Show:
© 2016 Microsoft