共用方式為


WebTestResultCondition.ErrorOccurred 屬性

取得或設定指出是否出現錯誤的布林值。

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

語法

'宣告
Public Property ErrorOccurred As Boolean
public bool ErrorOccurred { get; internal set; }
public:
property bool ErrorOccurred {
    bool get ();
    internal: void set (bool value);
}
member ErrorOccurred : bool with get, internal set
function get ErrorOccurred () : boolean
internal function set ErrorOccurred (value : boolean)

屬性值

型別:System.Boolean
布林值,指出是否出現錯誤。

.NET Framework 安全性

請參閱

參考

WebTestResultCondition 類別

Microsoft.VisualStudio.TestTools.WebTesting 命名空間