TryCatchTask.CatchElement

Executes embedded tasks/elements in the order in which they are defined.

Automatically validates attributes in the element based on attributes applied to members in derived classes.

Parameters

Attribute Type Description Required
property string
Defines the name of the property to save the message describing the failure that has been caught.
False

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks