Dela via


Undantag Thrown_V1 ETW-händelse

Den här händelsen samlar in information om de undantag som utlöses.

I följande tabell visas nyckelordet under vilket händelsen aktiveras och händelsenivån. (Mer information finns i CLR ETW-nyckelord och -nivåer.)

Nyckelord för att höja händelsen Nivå
ExceptionKeyword (0x8000) Varning (2)

I följande tabell visas händelseinformation.

Händelse Händelse-ID Upphöjt när
ExceptionThrown_V1 80 Ett hanterat undantag utlöses.

I följande tabell visas händelsedata.

Fältnamn Datatyp Beskrivning
Undantagstyp win:UnicodeString Typ av undantag. till exempel System.NullReferenceException.
Undantagsmeddelande win:UnicodeString Verkligt undantagsmeddelande.
EIPCodeThrow win:Pointer Instruktionspekare där undantaget inträffade.
ExceptionHR win:UInt32 Undantags-HRESULT.
ExceptionFlags win:UInt16 0x01: HasInnerException (se CLR ETW-händelser i Visual Basic-dokumentationen).

0x02: IsNestedException.

0x04: IsRethrownException.

0x08: IsCorruptedStateException (anger att processtillståndet är skadat. Se Hantera undantag för skadat tillstånd).

0x10: IsCLSCompliant (ett undantag som härleds från Exception är CLS-kompatibelt, annars är det inte CLS-kompatibelt).
ClrInstanceID win:UInt16 Unikt ID för instansen av CLR eller CoreCLR.

Se även