ClassExecuteCommandException
Execute command exception. Occurs when a command fails to execute.
Definition
Namespace:ArtOfTest.WebAii.Exceptions
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class ExecuteCommandException : Exception, ISerializable, _Exception
Inheritance: objectExceptionExecuteCommandException
Implements:
Inherited Members
Constructors
ExecuteCommandException(BrowserCommand, Exception)
Create a new ExecuteCommandException.
Declaration
public ExecuteCommandException(BrowserCommand command, Exception innerException)
Parameters
command
BrowserCommand
The command that caused the exception.
innerException
The inner exception (if any).
ExecuteCommandException(SerializationInfo, StreamingContext)
Initializes a new ExecuteCommandException object.
Declaration
public ExecuteCommandException(SerializationInfo info, StreamingContext context)
Parameters
info
The data needed to serialize or deserialize an object.
context
The source and destination of a given serialized stream, and provides an additional caller-defined context.
Properties
Command
Gets the command that caused the exception.
Declaration
public BrowserCommand Command { get; }
Property Value
BrowserCommand
Methods
GetObjectData(SerializationInfo, StreamingContext)
Deserializes a ExecuteCommandException object;
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
The data needed to serialize or deserialize an object.
context
The source and destination of a given serialized stream, and provides an additional caller-defined context.
Overrides