WebTestError.StackTrace 属性
获取或设置错误的堆栈跟踪。
命名空间: Microsoft.VisualStudio.TestTools.WebTesting
程序集: Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
语法
声明
Public Property StackTrace As String
Get
Friend Set
public string StackTrace { get; internal set; }
public:
property String^ StackTrace {
String^ get ();
internal: void set (String^ value);
}
member StackTrace : string with get, internal set
function get StackTrace () : String
internal function set StackTrace (value : String)
属性值
类型:System.String
错误的堆栈跟踪。
备注
对于某些 ErrorType,StackTrace 将是 nullnull 引用(在 Visual Basic 中为 Nothing)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。