Show / Hide Table of Contents

Class ExceptionEventArgs

Represents the base class for classes that contain event data, and provides a value to use for events that do not include event data.

Inheritance
object
EventArgs
ExceptionEventArgs
Inherited Members
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public class ExceptionEventArgs : EventArgs

Constructors

| Edit this page View Source

ExceptionEventArgs(Exception, bool, bool)

Initializes a new instance of the ExceptionEventArgs class.

Declaration
public ExceptionEventArgs(Exception exception, bool isCritical = false, bool @throw = false)
Parameters
Type Name Description
Exception exception

The Exception which is responsible for the event-call.

bool isCritical

Indicates if the exception is critical for the thrower.

bool throw

Indicates if the exception should be thrown after the event is handled.

Properties

| Edit this page View Source

Exception

Gets the Exception which is responsible for the event-call.

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

IsCritical

Gets a bool indicating if the exception is critical for the thrower.

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

Throw

Gets or sets if the exception should be thrown after the event is handled.

Declaration
public bool Throw { get; set; }
Property Value
Type Description
bool
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX