다음을 통해 공유


WebTestException 생성자 (String)

오류 메시지를 사용하여 WebTestException 클래스의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.WebTesting
어셈블리:  Microsoft.VisualStudio.QualityTools.WebTestFramework(Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

구문

‘선언
Public Sub New ( _
    message As String _
)
public WebTestException(
    string message
)
public:
WebTestException(
    String^ message
)
new : 
        message:string -> WebTestException
public function WebTestException(
    message : String
)

매개 변수

  • message
    형식: String

    오류를 설명하는 메시지입니다.

설명

message가 nullNull 참조(Visual Basic의 경우 Nothing)이면 파일 및 줄 번호가 포함된 호출 스택이 출력됩니다.

.NET Framework 보안

참고 항목

참조

WebTestException 클래스

WebTestException 오버로드

Microsoft.VisualStudio.TestTools.WebTesting 네임스페이스