Notă
Accesul la această pagină necesită autorizare. Puteți încerca să vă conectați sau să modificați directoarele.
Accesul la această pagină necesită autorizare. Puteți încerca să modificați directoarele.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.