ErrorDialogShowDialogOkCancel Method (String, String, Exception)

Spotfire Automation Services 14.3 API Reference

Note: This API is now obsolete.

Shows the dialog with the title title and the message as message text. In addition; user can select OK or cancel. Help settings are read from the exception.

Namespace:  Spotfire.Dxp.Automation.Utilities
Assembly:  Spotfire.Dxp.Automation.Framework (in Spotfire.Dxp.Automation.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[ObsoleteAttribute("Class obsolete, use message box or custom dialog instead.")]
public static DialogResult ShowDialogOkCancel(
	string title,
	string message,
	Exception ex
)

Parameters

title
Type: SystemString
The dialog title.
message
Type: SystemString
The main message to show if no UserMessage is found in the exception.
ex
Type: SystemException
The exception.

Return Value

Type: DialogResult
DialogResult.OK if the user presses OK; else DialogResult.Cancel.
Version Information

Obsolete (compiler warning) in 14.3
Obsolete (compiler warning) in 14.2
Obsolete (compiler warning) in 14.1
Obsolete (compiler warning) in 14.0
Obsolete (compiler warning) in 12.5
Obsolete (compiler warning) in 12.4
Obsolete (compiler warning) in 12.3
Obsolete (compiler warning) in 12.2
Obsolete (compiler warning) in 12.1
Obsolete (compiler warning) in 12.0
Obsolete (compiler warning) in 11.8
See Also

Reference