共用方式為


WebTestError.ExceptionText 屬性

取得或設定例外狀況文字,這是例外狀況的 ToString() 方法所傳回的字串。

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
Public Property ExceptionText As String
public string ExceptionText { get; internal set; }
public:
property String^ ExceptionText {
    String^ get ();
    internal: void set (String^ value);
}
member ExceptionText : string with get, internal set
function get ExceptionText () : String 
internal function set ExceptionText (value : String)

屬性值

類型:String
例外狀況文字。

備註

ExceptionText 對於某些 ErrorTypes 將會是 nullnull 參考 (即 Visual Basic 中的 Nothing)。

.NET Framework 安全性

請參閱

參考

WebTestError 類別

Microsoft.VisualStudio.TestTools.WebTesting 命名空間