UITestControlNotFoundException 생성자 (PropertyExpressionCollection, PropertyExpressionCollection, String, Exception, String, Object)
제공된 기본 컨트롤 속성, 보조 컨트롤 속성, 루트 UI 컨트롤, UI 테스트 컨트롤 및 소스를 사용하여 UITestControlNotFoundException 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: Microsoft.VisualStudio.TestTools.UITest.Extension
어셈블리: Microsoft.VisualStudio.TestTools.UITest.Extension(Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
구문
‘선언
Public Sub New ( _
primaryProperties As PropertyExpressionCollection, _
secondaryProperties As PropertyExpressionCollection, _
root As String, _
innerException As Exception, _
uiTestControl As String, _
exceptionSource As Object _
)
public UITestControlNotFoundException(
PropertyExpressionCollection primaryProperties,
PropertyExpressionCollection secondaryProperties,
string root,
Exception innerException,
string uiTestControl,
Object exceptionSource
)
public:
UITestControlNotFoundException(
PropertyExpressionCollection^ primaryProperties,
PropertyExpressionCollection^ secondaryProperties,
String^ root,
Exception^ innerException,
String^ uiTestControl,
Object^ exceptionSource
)
new :
primaryProperties:PropertyExpressionCollection *
secondaryProperties:PropertyExpressionCollection *
root:string *
innerException:Exception *
uiTestControl:string *
exceptionSource:Object -> UITestControlNotFoundException
public function UITestControlNotFoundException(
primaryProperties : PropertyExpressionCollection,
secondaryProperties : PropertyExpressionCollection,
root : String,
innerException : Exception,
uiTestControl : String,
exceptionSource : Object
)
매개 변수
primaryProperties
형식: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection컨트롤의 기본 속성입니다.
secondaryProperties
형식: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection컨트롤의 보조 속성입니다.
root
형식: String루트 요소의 string 표현입니다.
innerException
형식: Exception현재 예외를 발생시킨 원래 예외입니다.
uiTestControl
형식: String차단된 UITestControl의 문자열 표현입니다.
exceptionSource
형식: Object예외의 소스인 object입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.
참고 항목
참조
UITestControlNotFoundException 클래스
UITestControlNotFoundException 오버로드