NAnt SDK Documentation - v0.92 |

# ChooseTask.AddFallback Method

The set of tasks to execute if none of the ChooseTask.When elements are true.

[Visual Basic]
<BuildElement(Name:="otherwise", Required:=False, ProcessXml:=True)>
Public Sub AddFallback( _
ByVal fallback As ElementContainer _
)
[C#]
[BuildElement(Name="otherwise", Required=False, ProcessXml=True)]
public void AddFallback(
ElementContainer fallback
);

#### See Also

ChooseTask Class | NAnt.Core.Tasks Namespace