ErrorDialogShowDialog Method (FormStartPosition, String, String, Exception, MessageBoxIcon)

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. 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 void ShowDialog(
	FormStartPosition startPos,
	string title,
	string message,
	Exception ex,
	MessageBoxIcon icon
)

Parameters

startPos
Type: System.Windows.FormsFormStartPosition
The window start pos.
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.
icon
Type: System.Windows.FormsMessageBoxIcon
The icon to represent the error severity.
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