Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITestControlNotFoundException Class

 

The exception that is thrown when the user interface (UI) test framework attempts to access a UI test control that cannot be found.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

System::Object
  System::Exception
    Microsoft.VisualStudio.TestTools.UITest.Extension::UITestException
      Microsoft.VisualStudio.TestTools.UITest.Extension::UITestControlNotFoundException

[SerializableAttribute]
public ref class UITestControlNotFoundException : UITestException

NameDescription
System_CAPS_pubmethodUITestControlNotFoundException()

Initializes a new instance of the UITestControlNotFoundException class.

System_CAPS_pubmethodUITestControlNotFoundException(PropertyExpressionCollection^, PropertyExpressionCollection^, String^, Exception^, ILastInvocationInfo^, String^, Object^)

Initializes a new instance of the UITestControlNotFoundException class by using the provided primary control properties, secondary control properties, inner exception, last invocation information, UI test control, and source.

System_CAPS_pubmethodUITestControlNotFoundException(PropertyExpressionCollection^, PropertyExpressionCollection^, String^, Exception^, String^, Object^)

Initializes a new instance of the UITestControlNotFoundException class by using the provided primary control properties, secondary control properties, root UI control, UI test control, and source.

System_CAPS_protmethodUITestControlNotFoundException(SerializationInfo^, StreamingContext)

Initializes a new instance of the UITestControlNotFoundException class for deserialization.

System_CAPS_pubmethodUITestControlNotFoundException(String^)

Initializes a new instance of the UITestControlNotFoundException class by using the provided error message.

System_CAPS_pubmethodUITestControlNotFoundException(String^, Exception^)

Initializes a new instance of the UITestControlNotFoundException class by using the provided error message and inner exception.

System_CAPS_pubmethodUITestControlNotFoundException(String^, Exception^, String^, Object^)

Initializes a new instance of the UITestControlNotFoundException class by using the provided error message, inner exception, UI test control, and source.

System_CAPS_pubmethodUITestControlNotFoundException(String^, PropertyExpressionCollection^, PropertyExpressionCollection^, String^, Exception^, ILastInvocationInfo^, String^, Object^)

Initializes a new instance of the UITestControlNotFoundException class.

System_CAPS_pubmethodUITestControlNotFoundException(String^, PropertyExpressionCollection^, PropertyExpressionCollection^, String^, Exception^, String^, Object^)

Initializes a new instance of the UITestControlNotFoundException class.

System_CAPS_pubmethodUITestControlNotFoundException(String^, String^, Object^)

Initializes a new instance of the UITestControlNotFoundException class by using the provided error message, UI test control, and source.

NameDescription
System_CAPS_pubpropertyBasicMessage

Gets the basic error message.(Inherited from UITestException.)

System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_protpropertyDefaultMessage

Gets the configured default error message for this kind of exception.(Overrides UITestException::DefaultMessage.)

System_CAPS_pubpropertyErrorInfo

Gets or sets information about the UI test action that caused the exception.(Inherited from UITestException.)

System_CAPS_pubpropertyExceptionSource

Gets or sets the control that is the source of this exception.(Inherited from UITestException.)

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

Gets or sets the HRESULT for this exception.(Inherited from UITestException.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

Gets the message that was provided when this exception object was created.(Inherited from UITestException.)

System_CAPS_pubpropertyPrimaryProperties

Gets a collection of the primary properties of the target control.

System_CAPS_pubpropertyRootElement

Gets or sets a string representation of the root element.

System_CAPS_pubpropertySecondaryProperties

Gets a collection of the secondary properties of the target control.

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

Fills the provided serialization data object by using the provided context.(Overrides UITestException::GetObjectData(SerializationInfo^, StreamingContext).)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodSetHResult(UInt32)

Sets the corresponding HRESULT for this exception.(Inherited from UITestException.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

NameDescription
System_CAPS_proteventSerializeObjectState

(Inherited from Exception.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: