Table of Contents

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

exception Exception

The exception that caused the connection error.

ConnectionErrorEventArgs(ConnectionErrorEventArgs)

protected ConnectionErrorEventArgs(ConnectionErrorEventArgs original)

Parameters

original ConnectionErrorEventArgs

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Exception

Gets the exception that caused the connection error.

public Exception Exception { get; }

Property Value

Exception

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ConnectionErrorEventArgs?)

public virtual bool Equals(ConnectionErrorEventArgs? other)

Parameters

other ConnectionErrorEventArgs

Returns

bool

Equals(WebDriverBiDiEventArgs?)

public override sealed bool Equals(WebDriverBiDiEventArgs? other)

Parameters

other WebDriverBiDiEventArgs

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ConnectionErrorEventArgs?, ConnectionErrorEventArgs?)

public static bool operator ==(ConnectionErrorEventArgs? left, ConnectionErrorEventArgs? right)

Parameters

left ConnectionErrorEventArgs
right ConnectionErrorEventArgs

Returns

bool

operator !=(ConnectionErrorEventArgs?, ConnectionErrorEventArgs?)

public static bool operator !=(ConnectionErrorEventArgs? left, ConnectionErrorEventArgs? right)

Parameters

left ConnectionErrorEventArgs
right ConnectionErrorEventArgs

Returns

bool