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)


<FlagsAttribute> _
Public Enumeration BuildReason
public enum BuildReason
public enum class BuildReason
type BuildReason
public enum BuildReason


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.


See Also


Microsoft.TeamFoundation.Build.Client Namespace