Share via


DomainServiceDescription.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 DomainServiceDescription for the specified DomainService type.

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

Syntax

'Declaration
Public Shared Function GetDescription ( _
    domainServiceType As Type _
) As DomainServiceDescription
'Usage
Dim domainServiceType As Type
Dim returnValue As DomainServiceDescription

returnValue = DomainServiceDescription.GetDescription(domainServiceType)
public static DomainServiceDescription GetDescription(
    Type domainServiceType
)
public:
static DomainServiceDescription^ GetDescription(
    Type^ domainServiceType
)
static member GetDescription : 
        domainServiceType:Type -> DomainServiceDescription 
public static function GetDescription(
    domainServiceType : Type
) : DomainServiceDescription

Parameters

  • domainServiceType
    Type: System.Type
    The type of domain service to get the description for.

Return Value

Type: System.ServiceModel.DomainServices.Server.DomainServiceDescription
The description for the specified domain service type.

See Also

Reference

DomainServiceDescription Class

System.ServiceModel.DomainServices.Server Namespace