Acad.TaskDialog.showDeleteConfirmationTaskDialog Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.TaskDialog.showDeleteConfirmationTaskDialog(strTitle, strMessage);
Group
Parameters
Parameter | Description |
---|---|
strTitle | is the string for dialog title. |
strMessage | is the string for message in the dialog. |
Returns
Returns the Promise
object, then the argument can be used. Success callback returns result in enum Acad.TaskDialogResult.
This function returns a promise pattern result, it has to be called as a Promise Pattern with .then(onSuccess, onError)
function.
Description
Shows a task dialog with a confirmation message to delete.
Exception
Throws a TypeError
object.