Freigeben über


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

See Also

Reference

TestSpec Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace