Shows the task dialog.
Namespace: Autodesk.Revit.UIAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2011
Syntax
| C# |
|---|
public TaskDialogResult Show() |
| Visual Basic |
|---|
Public Function Show As TaskDialogResult |
| Visual C++ |
|---|
public: TaskDialogResult Show() |
Return Value
The user's response to the task dialog.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown when the task dialog is shown out of main thread of Revit or when an extra checkbox and a verification checkbox are enabled at the same time. |