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
CommandName
Gets the protocol method name of the canceled command.
public string CommandName { get; }
Property Value
Reason
Gets the reason the command was canceled.
public CommandCancellationReason Reason { get; }
Property Value
ResponseType
Gets the type the response to the canceled command would have been deserialized to.
public Type ResponseType { get; }
Property Value
TimeSinceCancellation
Gets the time that has elapsed since the command was canceled.
public TimeSpan TimeSinceCancellation { get; }