DomainServiceDescription Class

WCF RIA Services

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


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

public final class DomainServiceDescription

The DomainServiceDescription type exposes the following members.

Public propertyAttributesGets or sets a collection of attributes on the DomainService type.
Public propertyComplexTypesGets the complex types exposed by the DomainService.
Public propertyDomainOperationEntriesGets the collection of DomainOperationEntry instances for the DomainService.
Public propertyDomainServiceTypeGets the type of the DomainService.
Public propertyEntityTypesGets the types of entities exposed by the DomainService.
Public propertyRootEntityTypesGets all the root entity types exposed by the domain service.

Public methodAddOperationAdds the specified operation to this description.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetCustomMethodReturns the DomainService custom method with the specified name associated with the specified entity type.
Public methodGetCustomMethodsReturns the collection of custom methods defined for the specified entity type on the corresponding DomainService.
Public methodStatic memberGetDescriptionReturns the DomainServiceDescription for the specified DomainService type.
Public methodGetEntityBaseTypeGets the base type of the specified entity type.
Public methodGetHashCode (Inherited from Object.)
Public methodGetInvokeOperationReturns the DomainService invoke operation with the specified name.
Public methodGetParentAssociationsReturns all the compositional associations that compose the specified type.
Public methodGetQueryMethodReturns the DomainService query method with the specified name.
Public methodGetRootEntityTypeReturns the root type for the specified entity type.
Public methodGetSerializationTypeReturns the corresponding type exposed by the domain service, while accounting for inheritance.
Public methodGetSubmitMethodReturns the submit method for the specified entity type and DomainOperation.
Public methodGetType (Inherited from Object.)
Public methodIsOperationSupportedReturns a value that indicates whether the specified change operation is supported for the specified type.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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

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