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
Public method DomainIdentifierAttribute Initializes a new instance of the DomainIdentifierAttribute class.

Top

Properties

Name Description
Public property IsApplicationService Gets or sets a value that indicates whether the attributed type represents an application service.
Public property Name Gets the name of the domain identifier.
Public property TypeId (Inherited from Attribute.)

Top

Methods

Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _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.

See Also

Reference

System.ServiceModel.DomainServices Namespace