Revit 2025 API
Task |
Shows the task dialog.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public TaskDialogResult Show()
Public Function Show As TaskDialogResult
public: TaskDialogResult Show()
member Show : unit -> TaskDialogResult
Return Value
TaskDialogResultThe user's response to the task dialog.

Exception | Condition |
---|---|
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. |
See Also