WebTestError.ErrorSubtype 属性

获取或设置错误子类型字符串。

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

语法

声明
Public Property ErrorSubtype As String
    Get
    Friend Set
public string ErrorSubtype { get; internal set; }
public:
property String^ ErrorSubtype {
    String^ get ();
    internal: void set (String^ value);
}
member ErrorSubtype : string with get, internal set
function get ErrorSubtype () : String
internal function set ErrorSubtype (value : String)

属性值

类型:System.String
错误子类型。

备注

ErrorSubtype 是描述错误子类型的字符串。 ErrorSubtype 字符串的含义取决于 ErrorType。 例如,对于 HttpError,ErrorSubtype 为 HttpStatusCode。 对于验证规则错误、提取规则错误和异常,ErrorSubtype 是规则或异常的类名称。

.NET Framework 安全性

请参见

参考

WebTestError 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间