Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 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.

HasFlag

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft