Class ErrorEvent
Namespace: Aspose.Html.Dom.Events
Assembly: Aspose.HTML.dll (25.2.0)
The Aspose.Html.Dom.Events.ErrorEvent provides contextual information about an errors that occurred during runtime.
[ComVisible(true)]
[DOMObject]
[DOMName("ErrorEvent")]
public class ErrorEvent : Event, INotifyPropertyChanged
Inheritance
object ← DOMObject ← Event ← ErrorEvent
Derived
Implements
Inherited Members
Event.NonePhase, Event.CapturingPhase, Event.AtTargetPhase, Event.BubblingPhase, Event.InitEvent(string, bool, bool), Event.PreventDefault(), Event.StopPropagation(), Event.StopImmediatePropagation(), Event.Bubbles, Event.Cancelable, Event.CurrentTarget, Event.EventPhase, Event.Target, Event.TimeStamp, Event.Type, Event.DefaultPrevented, Event.IsTrusted, DOMObject.GetPlatformType(), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ErrorEvent(Exception)
Initializes a new instance of the Aspose.Html.Dom.Events.ErrorEvent class.
public ErrorEvent(Exception exception)
Parameters
exception
Exception
The exception.
ErrorEvent(IDictionary<string, object="">)
Initializes a new instance of the Aspose.Html.Dom.Events.ErrorEvent class.
[DOMConstructor]
public ErrorEvent(IDictionary<string, object=""> eventInitDict)
Parameters
eventInitDict
IDictionary<string, object>
The event initialization object.
Properties
ColNo
The colno attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to zero. It represents the column number where the error occurred in the script.
[DOMName("colno")]
public uint ColNo { get; }
Property Value
Error
The error attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to null. Where appropriate, it is set to the object representing the error (e.g. the exception object in the case of an uncaught DOM exception).
[DOMName("error")]
public object Error { get; }
Property Value
FileName
The filename attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to the empty string. It represents the absolute URL of the script in which the error originally occurred.
[DOMName("filename")]
public string FileName { get; }
Property Value
LineNo
The lineno attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to zero. It represents the line number where the error occurred in the script.
[DOMName("lineno")]
public uint LineNo { get; }
Property Value
Message
The message attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to the empty string. It represents the error message.
[DOMName("message")]
public string Message { get; }
Property Value
string </string,></string,>