TestSpec.FailBuildOnFailure Property
Gets or sets a flag indicating whether to fail the entire build if this test fails.
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
<BrowsableAttribute(True)> _
Public Property FailBuildOnFailure As Boolean
Get
Set
[BrowsableAttribute(true)]
public bool FailBuildOnFailure { get; set; }
[BrowsableAttribute(true)]
public:
property bool FailBuildOnFailure {
bool get ();
void set (bool value);
}
[<BrowsableAttribute(true)>]
member FailBuildOnFailure : bool with get, set
function get FailBuildOnFailure () : boolean
function set FailBuildOnFailure (value : boolean)
Property Value
Type: System.Boolean
True to fail the entire build if this test fails; otherwise, false.
.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.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace