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 UnhandledExceptionEventArgs(object exception, bool isTerminating);
// Public Instance Properties
   public object ExceptionObject{get; }
   public bool IsTerminating{get; }
}

Hierarchy

Object EventArgs UnhandledExceptionEventArgs

Passed To

UnhandledExceptionEventHandler.{BeginInvoke( ), Invoke( )}

Get C# in a Nutshell, Second Edition 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.