.NET Framework Class Library
ChannelFactory<(Of <(TChannel>)>)..::.CreateDescription Method

Creates a description of the service endpoint.

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

Visual Basic (Declaration)
Protected Overrides Function CreateDescription As ServiceEndpoint
Visual Basic (Usage)
Dim returnValue As ServiceEndpoint

returnValue = Me.CreateDescription()
C#
protected override ServiceEndpoint CreateDescription()
Visual C++
protected:
virtual ServiceEndpoint^ CreateDescription() override
JScript
protected override function CreateDescription() : ServiceEndpoint
Exceptions

ExceptionCondition
InvalidOperationException

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

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Page view tracker