TryCatchTask.

TryBlock Property

Summary

The tasks in this block will be executed as a normal part of the build script.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
TryCatchTask

Syntax

[BuildElement("try", Required = true)]
public ElementContainer TryBlock { get; set; }

Attributes

Type Description
BuildElementAttribute Indicates that the property should be treated as an XML element and further processing should be done.

Value

Type Description
ElementContainer