Visual Basic
C#
Managed Extensions for C++
C++/CLI
The event handler receives an argument of type ErrorEventArgs containing data related to this event. The following ErrorEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| ItemIndex | Gets and sets the index for the Thumbnail Item collection member which incurred an error during thumbnail generation. |
| Message | Gets and sets the error message for the Thumbnail item collection member which incurred an error during thumbnail generation. |
| Number | Gets and sets the error number for the Thumbnail Item collection member which incurred an error during thumbnail generation. |
The error could be due to generation errors like an unsupported or corrupt file, or various painting errors.