共用方式為


RuleResult.Success 屬性

取得或設定值,指出 Web 效能測試規則是否。

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
Public Property Success As Boolean
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)

屬性值

類型:Boolean
如果規則的結果成功,則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

RuleResult 類別

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