Dela via


ICorDebugThread2::InterceptCurrentException-metod

Tillåter att ett felsökningsprogram fångar upp det aktuella undantaget i den här tråden.

Syntax

HRESULT InterceptCurrentException (
    [in] ICorDebugFrame  *pFrame
);

Parameterar

pFrame [i] En pekare till en ICorDebugFrame som representerar den aktiva stackramen.

Anmärkningar

Metoden InterceptCurrentException kan anropas mellan ett undantagsåteranrop (ICorDebugManagedCallback::Exception eller ICorDebugManagedCallback2::Exception) och det associerade anropet till ICorDebugController::Fortsätt.

Kravspecifikation

Plattformar: Se Operativsystem som stöds av .NET.

Rubrik: CorDebug.idl, CorDebug.h

Bibliotek: CorGuids.lib

.NET-versioner: Tillgänglig sedan .NET Framework 2.0