TryCatchTask.

CatchBlock Property

Summary

The tasks in this block will be executed if any task in the try block fails.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
TryCatchTask

Syntax

[BuildElement("catch", Required = false)]
public TryCatchTask.CatchElement CatchBlock { 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
TryCatchTask.CatchElement