HtmlElementErrorEventArgs Class
Provides data for the Error event.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() | Description | Gets the descriptive string corresponding to the error. |
![]() | Handled | Gets or sets whether this error has been handled by the application hosting the document. |
![]() | LineNumber | Gets the line of HTML script code on which the error occurred. |
![]() | Url | Gets the location of the document that generated the error. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The following code example demonstrates how to suppress a script error and display your own custom dialog box. This code example requires that your application host a WebBrowser control named webBrowser1.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

