Initializes a new instance of the DomainNameAttribute class.

Namespace: Simol
Assembly: 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

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionIf domainName is an empty string
System..::..ArgumentNullExceptionIf domainName is null

See Also