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)

public enum BuildReason

Member nameDescription
AllBuild was started for any of the prevous reasons.

BatchedCIBuild was started due to batched check-in.

CheckInShelvesetBuild was started to check shelveset.

IndividualCIBuild started due to individual check-in.

ManualBuild started manually.

NoneNo reason given.

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

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

TriggeredBuild was triggered by an event.

UserCreatedBuild was started due to user defined reason.

ValidateShelvesetBuild was started to validate shelveset.