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


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

public abstract class DomainServiceDescriptionProvider

The DomainServiceDescriptionProvider type exposes the following members.

Protected methodDomainServiceDescriptionProviderInitializes a new instance of the DomainServiceDescriptionProvider class.

Protected methodCreateDescription()Creates a DomainServiceDescription.
Protected methodCreateDescription(DomainServiceDescription)Creates a DomainServiceDescription based on the specified description.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetDescriptionReturns the description for the DomainService type.
Public methodGetHashCode (Inherited from Object.)
Public methodGetOperationAttributesGets a collection of attributes for the specified operation.
Public methodGetType (Inherited from Object.)
Public methodGetTypeDescriptorGets the TypeDescriptor for the specified type, using the specified parent descriptor as the base.
Protected methodIsEntityTypeDetermines whether the specified type is an entity type by calling the LookupIsEntityType method of all DomainServiceDescriptionProvider objects in the provider chain for the domain service.
Public methodLookupIsEntityTypeDetermines whether the specified type is an entity type.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

A DomainServiceDescriptionProvider is used to provide the metadata description of a DomainService and the types it exposes. This includes creation of the DomainServiceDescription, as well as, custom TypeDescriptor objects for types returned from the service. A provider can be declaratively associated with a service by using the DomainServiceDescriptionProviderAttribute. DomainServiceDescriptionProvider objects are chained together by passing in the parent provider on construction.

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