FirstChanceExceptionEventArgs.Exception Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The managed exception object that corresponds to the exception thrown in managed code.
public:
property Exception ^ Exception { Exception ^ get(); };
public Exception Exception { get; }
member this.Exception : Exception
Public ReadOnly Property Exception As Exception
Property Value
The newly thrown exception.
Remarks
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.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.