[This is preliminary documentation and is subject to change.]

Displays modal message box with information about Exception

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public static DialogResult Error_XPTIBWO(
	Exception ex,
	string Prompt,
	string Title,
	MessageBox..::..MessageBoxIcons Icon,
	MessageBox..::..MessageBoxButton..::..Buttons Buttons,
	Object Owner,
	MessageBox..::..MessageBoxOptions Options
)
Visual Basic
Public Shared Function Error_XPTIBWO ( _
	ex As Exception, _
	Prompt As String, _
	Title As String, _
	Icon As MessageBox..::..MessageBoxIcons, _
	Buttons As MessageBox..::..MessageBoxButton..::..Buttons, _
	Owner As Object, _
	Options As MessageBox..::..MessageBoxOptions _
) As DialogResult
Visual C++
public:
static DialogResult Error_XPTIBWO(
	Exception^ ex, 
	String^ Prompt, 
	String^ Title, 
	MessageBox..::..MessageBoxIcons Icon, 
	MessageBox..::..MessageBoxButton..::..Buttons Buttons, 
	Object^ Owner, 
	MessageBox..::..MessageBoxOptions Options
)
F#
static member Error_XPTIBWO : 
        ex:Exception * 
        Prompt:string * 
        Title:string * 
        Icon:MessageBox..::..MessageBoxIcons * 
        Buttons:MessageBox..::..MessageBoxButton..::..Buttons * 
        Owner:Object * 
        Options:MessageBox..::..MessageBoxOptions -> DialogResult 
JScript
public static function Error_XPTIBWO(
	ex : Exception, 
	Prompt : String, 
	Title : String, 
	Icon : MessageBox..::..MessageBoxIcons, 
	Buttons : MessageBox..::..MessageBoxButton..::..Buttons, 
	Owner : Object, 
	Options : MessageBox..::..MessageBoxOptions
) : DialogResult

Parameters

ex
Type: System..::..Exception
Exception to show Message of
Prompt
Type: System..::..String
Prompt to be shown
Title
Type: System..::..String
Message box title
Icon
Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxIcons
Defines one of predefined icons to show to user. Actual image is obtained via GetIconDelegate
Buttons
Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxButton..::..Buttons
Defines which buttons will be available to user
Owner
Type: System..::..Object
The window message box window will be modal to (can be null). Typical values are IWin32Window and Window If implementation does not recognize type of owner it ignores it.
Options
Type: Tools.WindowsT.IndependentT..::..MessageBox..::..MessageBoxOptions
Dialog options

Return Value

Indicates button clicked by user

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionex is null

See Also

Collapse/expand Version History

1.5.3