TryCatchTask.

FinallyBlock Property

Summary

The tasks in this block will always be executed, regardless of what happens in the try and catch blocks.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
TryCatchTask

Syntax

[BuildElement("finally", Required = false)]
public ElementContainer FinallyBlock { get; set; }

Remarks

Note that any failure in any of the tasks in this block will prevent any subsequent tasks from executing.

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