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

声明
<FlagsAttribute> _
Public Enumeration BuildReason
[FlagsAttribute]
public enum BuildReason
[FlagsAttribute]
public enum class BuildReason
[<FlagsAttribute>]
type BuildReason
public enum BuildReason

Members

Member name Description
None No reason given.
Manual Build started manually.
IndividualCI Build started due to individual check-in.
BatchedCI Build was started due to batched check-in.
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.
UserCreated Build was started due to user defined reason.
ValidateShelveset Build was started to validate shelveset.
CheckInShelveset Build was started to check shelveset.
Triggered Build was triggered by an event.
All Build was started for any of the prevous reasons.

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace