ErrorDialogShowDialogOkCancel Method (String, String, Exception, String, String)

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.

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,
	string helpNamespace,
	string helpKeyword
)

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 ex.
helpNamespace
Type: SystemString
The help namespace.
helpKeyword
Type: SystemString
The help keyword.

Return Value

Type: DialogResult
The dialog result.
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