© 2010 Autodesk
Introduction to Revit 2011 API
Task Dialog
Overview
§Two ways to create task dialogs:
§Construct TaskDialog, set properties and use instance method Show()
§Instance of Autodesk.Revit.UI.TaskDialog
§Use one of the static Show() methods to show in one step
§
§And use it to set
§instructions,
§detailed text,
§icons,
§buttons
§command links
§Verification text, etc
§
There are two ways to create and show a task dialog to the user. The first option is to create a new instance of the TaskDialog, set its properties individually, and use the instance method Show() to show it to the user. The second is to use one of the static Show() methods to construct and show the dialog in one step. When you use the static methods only a subset of the options can be specified.

And task dialogs can be used to set instructions, detailed text, icons, buttons, command links, verification texts, etc.