NAnt SDK Documentation - v0.92

TaskAttributeAttribute Constructor 

Initializes a new instance of the TaskAttributeAttribute with the specified attribute name.

[Visual Basic]
Public Sub New( _
   ByVal name As String _
)
[C#]
public TaskAttributeAttribute(
   string name
);

Parameters

name
The name of the task attribute.

Exceptions

Exception Type Condition
ArgumentNullException name is a a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeException name is a zero-length String.

See Also

TaskAttributeAttribute Class | NAnt.Core.Attributes Namespace