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
System.Object
System.ServiceModel.DomainServices.Server.DomainServiceDescription
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Public NotInheritable Class DomainServiceDescription
'Usage
Dim instance As DomainServiceDescription
public sealed class DomainServiceDescription
public ref class DomainServiceDescription sealed
[<SealedAttribute>]
type DomainServiceDescription = class end
public final class DomainServiceDescription
The DomainServiceDescription type exposes the following members.
Properties
Name | Description | |
---|---|---|
Attributes | Gets or sets a collection of attributes on the DomainService type. | |
ComplexTypes | Gets the complex types exposed by the DomainService. | |
DomainOperationEntries | Gets the collection of DomainOperationEntry instances for the DomainService. | |
DomainServiceType | Gets the type of the DomainService. | |
EntityTypes | Gets the types of entities exposed by the DomainService. | |
RootEntityTypes | Gets all the root entity types exposed by the domain service. |
Top
Methods
Name | Description | |
---|---|---|
AddOperation | Adds the specified operation to this description. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetCustomMethod | Returns the DomainService custom method with the specified name associated with the specified entity type. | |
GetCustomMethods | Returns the collection of custom methods defined for the specified entity type on the corresponding DomainService. | |
GetDescription | Returns the DomainServiceDescription for the specified DomainService type. | |
GetEntityBaseType | Gets the base type of the specified entity type. | |
GetHashCode | (Inherited from Object.) | |
GetInvokeOperation | Returns the DomainService invoke operation with the specified name. | |
GetParentAssociations | Returns all the compositional associations that compose the specified type. | |
GetQueryMethod | Returns the DomainService query method with the specified name. | |
GetRootEntityType | Returns the root type for the specified entity type. | |
GetSerializationType | Returns the corresponding type exposed by the domain service, while accounting for inheritance. | |
GetSubmitMethod | Returns the submit method for the specified entity type and DomainOperation. | |
GetType | (Inherited from Object.) | |
IsOperationSupported | Returns a value that indicates whether the specified change operation is supported for the specified type. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
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.