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). 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
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho