BuildReason Enumeration

Describes the reason for the build.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration BuildReason
[FlagsAttribute]
public enum BuildReason
[FlagsAttribute]
public enum class BuildReason
[<FlagsAttribute>]
type BuildReason
public enum BuildReason

Members

Member name Description
All Build was started for any of the prevous reasons.

BatchedCI Build was started due to batched check-in.

CheckInShelveset Build was started to check shelveset.

IndividualCI Build started due to individual check-in.

Manual Build started manually.

None No reason given.

Schedule Build was started due to scheduled time, only if changes were made.

ScheduleForced Build was started due to scheduled time, even if no changes were made.

Triggered Build was triggered by an event.

UserCreated Build was started due to user defined reason.

ValidateShelveset Build was started to validate shelveset.

HasFlag

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace