Windows apps
Collapse the table of content
Expand the table of content
Information
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.Exception Property

.NET Framework (current version)
 

The managed exception object that corresponds to the exception thrown in managed code.

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

public Exception Exception { get; }

Property Value

Type: System.Exception

The newly thrown exception.

The method that handles the AppDomain.UnhandledException event can examine the exception and perform appropriate logging or other notification services.

For example code, see FirstChanceExceptionEventArgs.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft