NAnt SDK Documentation - v0.92 |

# FunctionSetAttribute Constructor

Initializes a new instance of the FunctionSetAttribute class with the specified name.

[Visual Basic]
Public Sub New( _
ByVal prefix As String, _
ByVal category As String _
)
[C#]
public FunctionSetAttribute(
string prefix,
string category
);

#### Parameters

prefix
  The prefix used to distinguish the functions.
category
  The category of the functions.

#### Exceptions

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

#### See Also

FunctionSetAttribute Class | NAnt.Core.Attributes Namespace