Shows the task dialog.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public TaskDialogResult Show()
Return Value
TaskDialogResultThe user's response to the task dialog.
Exceptions
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. |