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

Creates the DomainServiceDescription for a DomainService.

Inheritance Hierarchy

System.Object
  System.ServiceModel.DomainServices.Server.DomainServiceDescriptionProvider

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

Syntax

'Declaration
Public MustInherit Class DomainServiceDescriptionProvider
'Usage
Dim instance As DomainServiceDescriptionProvider
public abstract class DomainServiceDescriptionProvider
public ref class DomainServiceDescriptionProvider abstract
[<AbstractClassAttribute>]
type DomainServiceDescriptionProvider =  class end
public abstract class DomainServiceDescriptionProvider

The DomainServiceDescriptionProvider type exposes the following members.

Constructors

  Name Description
Protected method DomainServiceDescriptionProvider Initializes a new instance of the DomainServiceDescriptionProvider class.

Top

Methods

  Name Description
Protected method CreateDescription() Creates a DomainServiceDescription.
Protected method CreateDescription(DomainServiceDescription) Creates a DomainServiceDescription based on the specified description.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetDescription Returns the description for the DomainService type.
Public method GetHashCode (Inherited from Object.)
Public method GetOperationAttributes Gets a collection of attributes for the specified operation.
Public method GetType (Inherited from Object.)
Public method GetTypeDescriptor Gets the TypeDescriptor for the specified type, using the specified parent descriptor as the base.
Protected method IsEntityType Determines 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 method LookupIsEntityType Determines whether the specified type is an entity type.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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.

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

Reference

System.ServiceModel.DomainServices.Server Namespace