FirstChanceExceptionEventArgs Constructor (Exception)

.NET Framework (current version)
 

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

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

public FirstChanceExceptionEventArgs(
	Exception exception
)

Parameters

exception
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
Show: