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
siSerializationInfoThe serialization info.
scStreamingContextThe streaming context.
SetAttributeFailedException(string, Element)
Creates a new instance.
public SetAttributeFailedException(string name, Element element)
Parameters
namestringThe name of the attribute.
elementElementThe element for which setting the attribute failed.
SetAttributeFailedException(string, string, Element)
Creates a new instance.
public SetAttributeFailedException(string message, string name, Element element)
Parameters
messagestringThe exception message.
namestringThe name of the attribute.
elementElementThe 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)