DomainServiceDescriptionProvider.GetDescription Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Returns the description for the DomainService type.

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

Syntax

'Declaration
Public Overridable Function GetDescription As DomainServiceDescription
'Usage
Dim instance As DomainServiceDescriptionProvider
Dim returnValue As DomainServiceDescription

returnValue = instance.GetDescription()
public virtual DomainServiceDescription GetDescription()
public:
virtual DomainServiceDescription^ GetDescription()
abstract GetDescription : unit -> DomainServiceDescription 
override GetDescription : unit -> DomainServiceDescription 
public function GetDescription() : DomainServiceDescription

Return Value

Type: System.ServiceModel.DomainServices.Server.DomainServiceDescription
The description for the DomainService type.

Remarks

Overrides should call the base method and either extend the returned DomainServiceDescription or use it as an input to create an entirely new DomainServiceDescription.

See Also

Reference

DomainServiceDescriptionProvider Class

System.ServiceModel.DomainServices.Server Namespace