Shows a task dialog with title, main instruction and a Close button.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static TaskDialogResult Show( string title, string mainInstruction )
Parameters
- title String
- The title of the task dialog.
- mainInstruction String
- The main instruction of the task dialog.
Return Value
TaskDialogResultThe user's response to the task dialog.