Share via


DuplexClientBase<TChannel>.CreateChannel Method

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

Returns a channel to the service associated with the callback object passed to the constructor.

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

Syntax

'Declaration
Protected Overrides Function CreateChannel As TChannel
protected override TChannel CreateChannel()

Return Value

Type: TChannel
A channel to the service of the type of the service contract interface.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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