[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_XBWI(
	Exception ex,
	MessageBox..::..MessageBoxButton..::..Buttons Buttons,
	Object Owner,
	MessageBox..::..MessageBoxIcons Icon
)
Visual Basic
Public Shared Function Error_XBWI ( _
	ex As Exception, _
	Buttons As MessageBox..::..MessageBoxButton..::..Buttons, _
	Owner As Object, _
	Icon As MessageBox..::..MessageBoxIcons _
) As DialogResult
Visual C++
public:
static DialogResult Error_XBWI(
	Exception^ ex, 
	MessageBox..::..MessageBoxButton..::..Buttons Buttons, 
	Object^ Owner, 
	MessageBox..::..MessageBoxIcons Icon
)
F#
static member Error_XBWI : 
        ex:Exception * 
        Buttons:MessageBox..::..MessageBoxButton..::..Buttons * 
        Owner:Object * 
        Icon:MessageBox..::..MessageBoxIcons -> DialogResult 
JScript
public static function Error_XBWI(
	ex : Exception, 
	Buttons : MessageBox..::..MessageBoxButton..::..Buttons, 
	Owner : Object, 
	Icon : MessageBox..::..MessageBoxIcons
) : DialogResult

Parameters

ex
Type: System..::..Exception
Exception to show Message of
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.
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

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionex is null

See Also

Collapse/expand Version History

1.5.3