다음을 통해 공유


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