Initializes a new instance of the
| Exception Type | Condition |
|---|---|
| ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
| ArgumentOutOfRangeException | name is a zero-length String. |
ElementNameAttribute Class | NAnt.Core.Attributes Namespace