Table of Contents

Class CanceledCommandInfo

Namespace
WebDriverBiDi.Protocol
Assembly
WebDriverBiDi.dll

Describes a command that the local end stopped waiting for, so that a response arriving afterward can be recognized as belonging to a canceled command rather than being treated as an unknown message or an unexpected error.

public sealed class CanceledCommandInfo
Inheritance
CanceledCommandInfo
Inherited Members

Remarks

Only lightweight identifying data is retained; the Command itself, including its parameters, is not, so that tracking canceled commands never pins large parameter graphs.

Properties

CommandId

Gets the ID of the canceled command.

public long CommandId { get; }

Property Value

long

CommandName

Gets the protocol method name of the canceled command.

public string CommandName { get; }

Property Value

string

Reason

Gets the reason the command was canceled.

public CommandCancellationReason Reason { get; }

Property Value

CommandCancellationReason

ResponseType

Gets the type the response to the canceled command would have been deserialized to.

public Type ResponseType { get; }

Property Value

Type

TimeSinceCancellation

Gets the time that has elapsed since the command was canceled.

public TimeSpan TimeSinceCancellation { get; }

Property Value

TimeSpan