共用方式為


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 為 nullnull 參考 (即 Visual Basic 中的 Nothing),呼叫堆疊將會連同檔案和行號一起輸出。

.NET Framework 安全性

請參閱

參考

WebTestException 類別

WebTestException 多載

Microsoft.VisualStudio.TestTools.WebTesting 命名空間