FirstChanceExceptionEventArgs Constructor (Exception)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the FirstChanceExceptionEventArgs class with a specified exception.

Namespace:   System.Runtime.ExceptionServices
Assembly:  mscorlib (in mscorlib.dll)

new : 
        exception:Exception -> FirstChanceExceptionEventArgs


Type: System.Exception

The exception that was just thrown by managed code, and that will be examined by the AppDomain.UnhandledException event.

This constructor is called by the common language runtime, not by application code.

.NET Framework
Available since 4.0
Return to top