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