DomainServiceDescription Class

[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.]

Represents information about a DomainService.

Inheritance Hierarchy


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


Public NotInheritable Class DomainServiceDescription
Dim instance As DomainServiceDescription
public sealed class DomainServiceDescription
public ref class DomainServiceDescription sealed
type DomainServiceDescription =  class end
public final class DomainServiceDescription

The DomainServiceDescription type exposes the following members.


  Name Description
Public property Attributes Gets or sets a collection of attributes on the DomainService type.
Public property ComplexTypes Gets the complex types exposed by the DomainService.
Public property DomainOperationEntries Gets the collection of DomainOperationEntry instances for the DomainService.
Public property DomainServiceType Gets the type of the DomainService.
Public property EntityTypes Gets the types of entities exposed by the DomainService.
Public property RootEntityTypes Gets all the root entity types exposed by the domain service.



  Name Description
Public method AddOperation Adds the specified operation to this description.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetCustomMethod Returns the DomainService custom method with the specified name associated with the specified entity type.
Public method GetCustomMethods Returns the collection of custom methods defined for the specified entity type on the corresponding DomainService.
Public methodStatic member GetDescription Returns the DomainServiceDescription for the specified DomainService type.
Public method GetEntityBaseType Gets the base type of the specified entity type.
Public method GetHashCode (Inherited from Object.)
Public method GetInvokeOperation Returns the DomainService invoke operation with the specified name.
Public method GetParentAssociations Returns all the compositional associations that compose the specified type.
Public method GetQueryMethod Returns the DomainService query method with the specified name.
Public method GetRootEntityType Returns the root type for the specified entity type.
Public method GetSerializationType Returns the corresponding type exposed by the domain service, while accounting for inheritance.
Public method GetSubmitMethod Returns the submit method for the specified entity type and DomainOperation.
Public method GetType (Inherited from Object.)
Public method IsOperationSupported Returns a value that indicates whether the specified change operation is supported for the specified type.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)



Domain services are Windows Communication Foundation (WCF) services that encapsulate the business logic of an application.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


System.ServiceModel.DomainServices.Server Namespace