Table of Contents

Class SetAttributeFailedException

Namespace
Ranorex
Assembly
Ranorex.Core.dll

Exception that is thrown when setting an attribute on an Element failed (see SetAttributeValue(string, object)).

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

Constructors

SetAttributeFailedException()

Creates a new instance.

public SetAttributeFailedException()

SetAttributeFailedException(SerializationInfo, StreamingContext)

Creates a new instance.

protected SetAttributeFailedException(SerializationInfo si, StreamingContext sc)

Parameters

si SerializationInfo

The serialization info.

sc StreamingContext

The streaming context.

SetAttributeFailedException(string, Element)

Creates a new instance.

public SetAttributeFailedException(string name, Element element)

Parameters

name string

The name of the attribute.

element Element

The element for which setting the attribute failed.

SetAttributeFailedException(string, string, Element)

Creates a new instance.

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

Parameters

message string

The exception message.

name string

The name of the attribute.

element Element

The element for which setting the attribute failed.

SetAttributeFailedException(string, string, Element, Exception)

Creates a new instance.

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

Parameters

message string

The exception message.

name string

The name of the attribute.

element Element

The element for which setting the attribute failed.

innerException Exception

The inner exception.