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:
property Exception^ 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: