PlaybackSettings.ShouldSearchFailFast Property
Gets or sets a value indicating whether search has to fail fast or after the timeout period set for the search operation has elapsed.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Property ShouldSearchFailFast As Boolean
public bool ShouldSearchFailFast { get; set; }
public:
property bool ShouldSearchFailFast {
bool get ();
void set (bool value);
}
member ShouldSearchFailFast : bool with get, set
function get ShouldSearchFailFast () : boolean
function set ShouldSearchFailFast (value : boolean)
Property Value
Type: Boolean
true if the search must fail fast; false if the search must fail after the timeout period set for the search operation has elapsed.
Remarks
Timeout period for search is set in milliseconds.
Examples
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.