Name

UnhandledExceptionEventArgs

Synopsis

This class is passed as an argument to an UnhandledExceptionEventHandler event handler. Its IsTerminating property specifies whether the CLR is in the process of shutting down.

public class UnhandledExceptionEventArgs : EventArgs {
// Public Constructors
   public method UnhandledExceptionEventArgs(object exception, 
        bool isTerminating);  
// Public Instance Properties
   public field object ExceptionObject{get; } 
   public field bool IsTerminating{get; } 
}

Hierarchy

ObjectEventArgsUnhandledExceptionEventArgs

Passed To

UnhandledExceptionEventHandler.{BeginInvoke(), Invoke()}

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.