DomainIdentifierAttribute 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.]
Categorizes a type as being in a particular domain.
Inheritance Hierarchy
System.Object
System.Attribute
System.ServiceModel.DomainServices.DomainIdentifierAttribute
Namespace: System.ServiceModel.DomainServices
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public Class DomainIdentifierAttribute _
Inherits Attribute
'Usage
Dim instance As DomainIdentifierAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class DomainIdentifierAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false, Inherited = true)]
public ref class DomainIdentifierAttribute : public Attribute
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)>]
type DomainIdentifierAttribute =
class
inherit Attribute
end
public class DomainIdentifierAttribute extends Attribute
The DomainIdentifierAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DomainIdentifierAttribute | Initializes a new instance of the DomainIdentifierAttribute class. |
Top
Properties
Name | Description | |
---|---|---|
IsApplicationService | Gets or sets a value that indicates whether the attributed type represents an application service. | |
Name | Gets the name of the domain identifier. | |
TypeId | (Inherited from Attribute.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Attribute.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Attribute.) | |
GetType | (Inherited from Object.) | |
IsDefaultAttribute | (Inherited from Attribute.) | |
Match | (Inherited from Attribute.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames | (Inherited from Attribute.) | |
_Attribute.GetTypeInfo | (Inherited from Attribute.) | |
_Attribute.GetTypeInfoCount | (Inherited from Attribute.) | |
_Attribute.Invoke | (Inherited from Attribute.) |
Top
Remarks
This attribute will move through the metadata pipeline, so the corresponding generated types will also have this attribute. This attribute also allows for specification of a CodeProcessor, which will be used during generation of client types.
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.