[This is preliminary documentation and is subject to change.]
Displays modal message box with information about Exception with given title and owner
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public static DialogResult Error_XTW( Exception ex, string Title, Object Owner ) |
| Visual Basic |
|---|
Public Shared Function Error_XTW ( _ ex As Exception, _ Title As String, _ Owner As Object _ ) As DialogResult |
| Visual C++ |
|---|
public: static DialogResult Error_XTW( Exception^ ex, String^ Title, Object^ Owner ) |
| F# |
|---|
static member Error_XTW : ex:Exception * Title:string * Owner:Object -> DialogResult |
| JScript |
|---|
public static function Error_XTW( ex : Exception, Title : String, Owner : Object ) : DialogResult |
Parameters
- ex
- Type: System..::..Exception
Exception to show Message of
- Title
- Type: System..::..String
Message box title
- 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.
Return Value
Indicates button clicked by user
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | ex is nulll |
See Also
Version History
1.5.3
- (Beta) Type of parameter owner changed from IWin32Window to Object to support both - IWin32Window and Window.
- Message from inner exceptions is shown as well
- ArgumentNullException is thrown when ex is null (instead of NullReferenceException)