VjcTask.

WarningLevel Property

Summary

Specifies the warning level for the compiler to display. Valid values are 0-4. The default is 4.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
VjcTask

Syntax

[TaskAttribute("warninglevel")]
[Int32Validator(0, 4)]
public string WarningLevel { get; set; }

Remarks

Corresponds with the /warn option.

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
Int32ValidatorAttribute Indicates that property should be able to be converted into a int within the given range.

Value

Type Description
string The warning level for the compiler to display.