Поделиться через


UITestControlNotFoundException - конструктор (String, PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, String, Object)

Инициализирует новый экземпляр класса UITestControlNotFoundException.

Пространство имен:  Microsoft.VisualStudio.TestTools.UITest.Extension
Сборка:  Microsoft.VisualStudio.TestTools.UITest.Extension (в Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Синтаксис

'Декларация
Public Sub New ( _
    message As String, _
    primaryProperties As PropertyExpressionCollection, _
    secondaryProperties As PropertyExpressionCollection, _
    root As String, _
    innerException As Exception, _
    uiTestControl As String, _
    exceptionSource As Object _
)
public UITestControlNotFoundException(
    string message,
    PropertyExpressionCollection primaryProperties,
    PropertyExpressionCollection secondaryProperties,
    string root,
    Exception innerException,
    string uiTestControl,
    Object exceptionSource
)
public:
UITestControlNotFoundException(
    String^ message, 
    PropertyExpressionCollection^ primaryProperties, 
    PropertyExpressionCollection^ secondaryProperties, 
    String^ root, 
    Exception^ innerException, 
    String^ uiTestControl, 
    Object^ exceptionSource
)
new : 
        message:string * 
        primaryProperties:PropertyExpressionCollection * 
        secondaryProperties:PropertyExpressionCollection * 
        root:string * 
        innerException:Exception * 
        uiTestControl:string * 
        exceptionSource:Object -> UITestControlNotFoundException
public function UITestControlNotFoundException(
    message : String, 
    primaryProperties : PropertyExpressionCollection, 
    secondaryProperties : PropertyExpressionCollection, 
    root : String, 
    innerException : Exception, 
    uiTestControl : String, 
    exceptionSource : Object
)

Параметры

  • message
    Тип: String

    Сообщение об ошибке.

  • root
    Тип: String

    Представление string корневого элемента.

  • innerException
    Тип: Exception

    Исходное исключение, вызвавшее текущее исключение.

  • uiTestControl
    Тип: String

    Строковое представление заблокированного объекта UITestControl.

  • exceptionSource
    Тип: Object

    Значение object, являющееся источником исключения.

Безопасность платформы .NET Framework

См. также

Ссылки

UITestControlNotFoundException Класс

UITestControlNotFoundException - перегрузка

Microsoft.VisualStudio.TestTools.UITest.Extension - пространство имен

UITestControl