Bagikan melalui


UITestAction.ContinueOnError Property

Gets or sets a value that indicates whether to continue even if this action fails.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Property ContinueOnError As Boolean
public bool ContinueOnError { get; set; }
public:
property bool ContinueOnError {
    bool get ();
    void set (bool value);
}
member ContinueOnError : bool with get, set
function get ContinueOnError () : boolean 
function set ContinueOnError (value : boolean)

Property Value

Type: Boolean
true to continue even if the action fails; otherwise, false.

Remarks

Raises the PropertyChanged event when the value is set.

.NET Framework Security

See Also

Reference

UITestAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

ContinueOnErrorWrapper

PropertyChanged