[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.2.0

Syntax

C#
public static DialogResult Error_XTBWI(
	Exception ex,
	string Title,
	MessageBox..::.MessageBoxButton..::.Buttons Buttons,
	IWin32Window Owner,
	MessageBox..::.MessageBoxIcons Icon
)
Visual Basic (Declaration)
Public Shared Function Error_XTBWI ( _
	ex As Exception, _
	Title As String, _
	Buttons As MessageBox..::.MessageBoxButton..::.Buttons, _
	Owner As IWin32Window, _
	Icon As MessageBox..::.MessageBoxIcons _
) As DialogResult
Visual C++
public:
static DialogResult Error_XTBWI(
	Exception^ ex, 
	String^ Title, 
	MessageBox..::.MessageBoxButton..::.Buttons Buttons, 
	IWin32Window^ Owner, 
	MessageBox..::.MessageBoxIcons Icon
)
J#
public static DialogResult Error_XTBWI(
	Exception ex,
	String Title,
	MessageBox..::.MessageBoxButton..::.Buttons Buttons,
	IWin32Window Owner,
	MessageBox..::.MessageBoxIcons Icon
)
JScript
public static function Error_XTBWI(
	ex : Exception, 
	Title : String, 
	Buttons : MessageBox..::.MessageBoxButton..::.Buttons, 
	Owner : IWin32Window, 
	Icon : MessageBox..::.MessageBoxIcons
) : DialogResult

Parameters

ex
Type: System..::.Exception
Exception to show Message of
Title
Type: System..::.String
Message box title
Buttons
Type: Tools.WindowsT.IndependentT..::.MessageBox..::.MessageBoxButton..::.Buttons
Defines which buttons will be available to user
Owner
Type: System.Windows.Forms..::.IWin32Window
The window message box window will be modal to (can be null)
Icon
Type: Tools.WindowsT.IndependentT..::.MessageBox..::.MessageBoxIcons
Defines one of predefined icons to show to user. Actual image is obtained via GetIconDelegate

Return Value

Indicates button clicked by user

See Also