WebTestException 생성자 (String, Exception)
이 예외를 발생시킨 내부 Exception에 대한 참조와 오류 메시지를 사용하여 WebTestException 클래스의 새 인스턴스를 초기화합니다.
네임스페이스: Microsoft.VisualStudio.TestTools.WebTesting
어셈블리: Microsoft.VisualStudio.QualityTools.WebTestFramework(Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
구문
‘선언
Public Sub New ( _
message As String, _
innerException As Exception _
)
public WebTestException(
string message,
Exception innerException
)
public:
WebTestException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> WebTestException
public function WebTestException(
message : String,
innerException : Exception
)
매개 변수
message
형식: String예외에 대한 이유를 설명하는 오류 메시지입니다.
innerException
형식: Exception현재 예외의 원인이 되는 예외입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.