RuleResult.Success 属性

获取或设置一个值,该值表示 Web 性能测试规则是否成功。

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

语法

声明
Public Property Success As Boolean
    Get
    Friend Set
public bool Success { get; internal set; }
public:
property bool Success {
    bool get ();
    internal: void set (bool value);
}
member Success : bool with get, internal set
function get Success () : boolean
internal function set Success (value : boolean)

属性值

类型:System.Boolean
如果规则结果成功,则为 true;否则为 false。

.NET Framework 安全性

请参见

参考

RuleResult 类

Microsoft.VisualStudio.TestTools.WebTesting.Rules 命名空间