Creates a description of the service endpoint.
Namespace:
System.ServiceModel
Assembly:
System.ServiceModel (in System.ServiceModel.dll)
Visual Basic (Declaration)
Protected Overrides Function CreateDescription As ServiceEndpoint
Dim returnValue As ServiceEndpoint
returnValue = Me.CreateDescription()
protected override ServiceEndpoint CreateDescription()
protected:
virtual ServiceEndpoint^ CreateDescription() override
protected override function CreateDescription() : ServiceEndpoint
| Exception | Condition |
|---|
| 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). |
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.
.NET Framework
Supported in: 3.5, 3.0
Reference