Class EventHandlerErrorOccurredEventArgs
- Namespace
- WebDriverBiDi
- Assembly
- WebDriverBiDi.dll
Provides data for the event raised when an error occurs in an observer of an observable event. This event is for diagnostic and observability purposes, and does not prevent the propagation of the error back to the Transport class.
public record EventHandlerErrorOccurredEventArgs : WebDriverBiDiEventArgs, IEquatable<WebDriverBiDiEventArgs>, IEquatable<EventHandlerErrorOccurredEventArgs>
- Inheritance
-
EventHandlerErrorOccurredEventArgs
- Implements
- Inherited Members
Constructors
EventHandlerErrorOccurredEventArgs(EventHandlerErrorOccurredEventArgs)
protected EventHandlerErrorOccurredEventArgs(EventHandlerErrorOccurredEventArgs original)
Parameters
originalEventHandlerErrorOccurredEventArgs
EventHandlerErrorOccurredEventArgs(EventObserverErrorInfo)
Initializes a new instance of the EventHandlerErrorOccurredEventArgs class.
public EventHandlerErrorOccurredEventArgs(EventObserverErrorInfo errorInfo)
Parameters
errorInfoEventObserverErrorInfoThe error information describing the error that occurred in the event handler.
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
ErrorInfo
Gets the error information describing the error that occurred in the event handler.
public EventObserverErrorInfo ErrorInfo { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(EventHandlerErrorOccurredEventArgs?)
public virtual bool Equals(EventHandlerErrorOccurredEventArgs? other)
Parameters
Returns
Equals(WebDriverBiDiEventArgs?)
public override sealed bool Equals(WebDriverBiDiEventArgs? other)
Parameters
otherWebDriverBiDiEventArgs
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(EventHandlerErrorOccurredEventArgs?, EventHandlerErrorOccurredEventArgs?)
public static bool operator ==(EventHandlerErrorOccurredEventArgs? left, EventHandlerErrorOccurredEventArgs? right)
Parameters
Returns
operator !=(EventHandlerErrorOccurredEventArgs?, EventHandlerErrorOccurredEventArgs?)
public static bool operator !=(EventHandlerErrorOccurredEventArgs? left, EventHandlerErrorOccurredEventArgs? right)