Initializes a new instance of the DomainNameAttribute class.
            
        
        Namespace: SimolAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
| C# | 
|---|
public DomainNameAttribute( string domainName )  | 
| Visual Basic | 
|---|
Public Sub New ( _ domainName As String _ )  | 
| Visual C++ | 
|---|
public: DomainNameAttribute( String^ domainName )  | 
Parameters
- domainName
 - Type: System..::..String
Name of the domain. 
Exceptions
| Exception | Condition | 
|---|---|
| System..::..ArgumentOutOfRangeException | If domainName is an empty string | 
| System..::..ArgumentNullException | If domainName is null |