Class MessageBoxEventArgs
Event arguments for requesting that a message box to be shown to the user.
Inherited Members
Namespace: Benday.Presentation
Assembly: Benday.Presentation.dll
Syntax
public class MessageBoxEventArgs : EventArgs
Constructors
| Edit this page View SourceMessageBoxEventArgs(string)
Declaration
public MessageBoxEventArgs(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
MessageBoxEventArgs(string, bool, Exception)
Initializes a new instance of the MessageBoxEventArgs class.
Declaration
public MessageBoxEventArgs(string message, bool isUnexpectedException, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
bool | isUnexpectedException | |
Exception | exception |
MessageBoxEventArgs(string, Exception)
Initializes a new instance of the MessageBoxEventArgs class.
Declaration
public MessageBoxEventArgs(string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
Exception | exception |
Properties
| Edit this page View SourceException
The exception that was thrown.
Declaration
public Exception? Exception { get; }
Property Value
Type | Description |
---|---|
Exception |
IsUnexpectedException
True if the exception was unexpected.
Declaration
public bool IsUnexpectedException { get; }
Property Value
Type | Description |
---|---|
bool |
Message
The message to show to the user.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
string |