Class ConnectionErrorEventArgs
- Namespace
- WebDriverBiDi.Protocol
- Assembly
- WebDriverBiDi.dll
Object containing event data for events raised when an error occurs on a WebDriver BiDi connection.
public record ConnectionErrorEventArgs : WebDriverBiDiEventArgs, IEquatable<WebDriverBiDiEventArgs>, IEquatable<ConnectionErrorEventArgs>
- Inheritance
-
ConnectionErrorEventArgs
- Implements
- Inherited Members
Constructors
ConnectionErrorEventArgs(Exception)
Initializes a new instance of the ConnectionErrorEventArgs class.
public ConnectionErrorEventArgs(Exception exception)
Parameters
exceptionExceptionThe exception that caused the connection error.
ConnectionErrorEventArgs(ConnectionErrorEventArgs)
protected ConnectionErrorEventArgs(ConnectionErrorEventArgs original)
Parameters
originalConnectionErrorEventArgs
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Exception
Gets the exception that caused the connection error.
public Exception Exception { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ConnectionErrorEventArgs?)
public virtual bool Equals(ConnectionErrorEventArgs? other)
Parameters
otherConnectionErrorEventArgs
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 ==(ConnectionErrorEventArgs?, ConnectionErrorEventArgs?)
public static bool operator ==(ConnectionErrorEventArgs? left, ConnectionErrorEventArgs? right)
Parameters
leftConnectionErrorEventArgsrightConnectionErrorEventArgs
Returns
operator !=(ConnectionErrorEventArgs?, ConnectionErrorEventArgs?)
public static bool operator !=(ConnectionErrorEventArgs? left, ConnectionErrorEventArgs? right)
Parameters
leftConnectionErrorEventArgsrightConnectionErrorEventArgs