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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。