ChannelFactory<TChannel>.CreateChannel Method

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

Creates a channel that is used to send messages to a service.

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

Syntax

'Declaration
Public Function CreateChannel As TChannel
public TChannel CreateChannel()

Return Value

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

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.