다음을 통해 공유


UITestException 생성자 (String, Exception)

제공된 메시지와 내부 예외를 사용하여 UITestException 클래스의 새 인스턴스를 초기화합니다.

네임스페이스:  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 _
)
public UITestException(
    string message,
    Exception innerException
)
public:
UITestException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> UITestException
public function UITestException(
    message : String, 
    innerException : Exception
)

매개 변수

  • message
    형식: String

    오류 메시지입니다.

  • innerException
    형식: Exception

    현재 예외를 발생시킨 예외입니다.

.NET Framework 보안

참고 항목

참조

UITestException 클래스

UITestException 오버로드

Microsoft.VisualStudio.TestTools.UITest.Extension 네임스페이스