Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public FirstChanceExceptionEventArgs(
	Exception 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
© 2017 Microsoft