RVTDocs.com
Namespace: Autodesk.Revit.UI Class: TaskDialog

TaskDialog.Show(String, String, TaskDialogCommonButtons)

Method
Description:
Shows a task dialog with title, main instruction and common buttons.
Syntax
public static TaskDialogResult Show(
	string title,
	string mainInstruction,
	TaskDialogCommonButtons buttons
)
Parameters
Parameter Type Description
title String The title of the task dialog.
mainInstruction String The main instruction of the task dialog.
buttons TaskDialogCommonButtons The common buttons to be shown the task dialog.
Return Value
Type Description
TaskDialogResult The user's response to the task dialog.