Table of Contents

Class ActionFailedException

Namespace
Ranorex
Assembly
Ranorex.Core.dll

Exception that is thrown when executing an action on an Element failed (see InvokeAction(string, params object[])).

public class ActionFailedException : OperationFailedException, ISerializable, _Exception
Inheritance
ActionFailedException
Implements
Inherited Members

Constructors

ActionFailedException()

Creates a new instance.

public ActionFailedException()

ActionFailedException(SerializationInfo, StreamingContext)

Creates a new instance.

protected ActionFailedException(SerializationInfo si, StreamingContext sc)

Parameters

si SerializationInfo

The serialization info.

sc StreamingContext

The streaming context.

ActionFailedException(string, Element)

Creates a new instance.

public ActionFailedException(string name, Element element)

Parameters

name string

The name of the action.

element Element

The element for which the action failed.

ActionFailedException(string, string, Element)

Creates a new instance.

public ActionFailedException(string message, string name, Element element)

Parameters

message string

The exception message.

name string

The name of the action.

element Element

The element for which the action failed.

ActionFailedException(string, string, Element, Exception)

Creates a new instance.

public ActionFailedException(string message, string name, Element element, Exception innerException)

Parameters

message string

The exception message.

name string

The name of the action.

element Element

The element for which the action failed.

innerException Exception

The inner exception.