Exception Thrown_V1 ETW Event

This event captures information about the exceptions that are thrown.

The following table shows the keyword under which the event is raised, and the level of the event. (For more information, see CLR ETW Keywords and Levels.)

Keyword for raising the event

Level

ExceptionKeyword (0x8000)

Warning (2)

The following table shows event information.

Event

Event ID

Raised when

ExceptionThrown_V1

80

A managed exception is thrown.

The following table shows event data.

Field name

Data type

Description

Exception Type

win:UnicodeString

Type of the exception; for example, System.NullReferenceException.

Exception Message

win:UnicodeString

Actual exception message.

EIPCodeThrow

win:Pointer

Instruction pointer where exception occurred.

ExceptionHR

win:UInt32

Exception HRESULT.

ExceptionFlags

win:UInt16

0x01: HasInnerException (see CLR ETW Events in the Visual Basic documentation).

0x02: IsNestedException.

0x04: IsRethrownException.

0x08: IsCorruptedStateException (indicates that the process state is corrupt; see Handling Corrupted State Exceptions on MSDN).

0x10: IsCLSCompliant (an exception that derives from Exception is CLS-compliant; otherwise, it is not CLS-compliant).

ClrInstanceID

win:UInt16

Unique ID for the instance of CLR or CoreCLR.

See Also

Other Resources

CLR ETW Events