DuplexChannelFactory<TChannel>.CreateDescription Method

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

Creates a description of the service endpoint associated with this duplex channel factory.

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

Syntax

'Declaration
Protected Overrides Function CreateDescription As ServiceEndpoint
protected override ServiceEndpoint CreateDescription()

Return Value

Type: System.ServiceModel.Description.ServiceEndpoint
The ServiceEndpoint of the service.

Exceptions

Exception Condition
InvalidOperationException

The callback contract is nulla null reference (Nothing in Visual Basic) but the service endpoint requires one that is non-nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4

Platforms

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