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: 66.0.19621.1485 (66.0.19621.1485)
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, MessageBoxIcon icon )
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. - helpNamespace
- Type: SystemString
The help namespace. - helpKeyword
- Type: SystemString
The help keyword. - icon
- Type: System.Windows.FormsMessageBoxIcon
The icon to represent the error severity.
Return Value
Type: DialogResultThe dialog result.
Version Information
Obsolete (compiler warning) in 14.4
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