DuplexChannelFactory<TChannel>.CreateChannel Method (EndpointAddress, Uri)

Creates a duplex channel between a service and a callback instance on the client.

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

public override TChannel CreateChannel(
	EndpointAddress address,
	Uri via
)

Parameters

address
Type: System.ServiceModel.EndpointAddress
The EndpointAddress that provides the location of the service.
via
Type: System.Uri
The Uri that contains the transport address to which the message is sent.

Return Value

Type: TChannel
A duplex channel of type TChannel, the generic parameter for the factory, between the client and service.

Implements

IChannelFactory<TChannel>.CreateChannel(EndpointAddress, Uri)

ExceptionCondition
ArgumentNullException

address is null.

Silverlight

Supported in: 5, 4, 3

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

Community Additions

ADD
Show: