WebTestError.ExceptionText 属性

获取或设置异常文本,它是由异常的 ToString() 方法返回的字符串。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Property ExceptionText As String
    Get
    Friend Set
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)

属性值

类型:System.String
异常文本。

备注

对于某些 ErrorType,ExceptionText 将为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

WebTestError 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间