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