TryBlock Property

NAnt SDK Documentation - v0.92 |

# TryCatchTask.TryBlock Property

The tasks in this block will be executed as a normal part of the build script.

[Visual Basic]
<BuildElement(Name:="try", Required:=True, ProcessXml:=True)>
Public Property TryBlock As ElementContainer
[C#]
[BuildElement(Name="try", Required=True, ProcessXml=True)]
public NAnt.Core.ElementContainer TryBlock {get; set;}

#### See Also

TryCatchTask Class | NAnt.Core.Tasks Namespace