DomainIdentifierAttribute.Name Property

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

Gets the name of the domain identifier.

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

Syntax

'Declaration
Public Property Name As String
    Get
    Friend Set
'Usage
Dim instance As DomainIdentifierAttribute
Dim value As String

value = instance.Name
public string Name { get; internal set; }
public:
property String^ Name {
    String^ get ();
    internal: void set (String^ value);
}
member Name : string with get, internal set
function get Name () : String
internal function set Name (value : String)

Property Value

Type: System.String
The name of the domain identifier.

Exceptions

Exception Condition
InvalidOperationException

The name is nulla null reference (Nothing in Visual Basic) or empty.

See Also

Reference

DomainIdentifierAttribute Class

System.ServiceModel.DomainServices Namespace