Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
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). 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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.