Show / Hide Table of Contents

Class MessageBoxEventArgs

Event arguments for requesting that a message box to be shown to the user.

Inheritance
object
EventArgs
MessageBoxEventArgs
Inherited Members
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Benday.Presentation
Assembly: Benday.Presentation.dll
Syntax
public class MessageBoxEventArgs : EventArgs

Constructors

| Edit this page View Source

MessageBoxEventArgs(string)

Declaration
public MessageBoxEventArgs(string message)
Parameters
Type Name Description
string message
| Edit this page View Source

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
| Edit this page View Source

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 Source

Exception

The exception that was thrown.

Declaration
public Exception? Exception { get; }
Property Value
Type Description
Exception
| Edit this page View Source

IsUnexpectedException

True if the exception was unexpected.

Declaration
public bool IsUnexpectedException { get; }
Property Value
Type Description
bool
| Edit this page View Source

Message

The message to show to the user.

Declaration
public string Message { get; }
Property Value
Type Description
string
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com