GetBuildProperties.Reason Property

The reason the build was requested.

Namespace:  Microsoft.TeamFoundation.Build.Tasks
Assembly:  Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)

Syntax

'Declaration
<OutputAttribute> _
Public ReadOnly Property Reason As BuildReason
[OutputAttribute]
public BuildReason Reason { get; }
[OutputAttribute]
public:
property BuildReason Reason {
    BuildReason get ();
}
[<OutputAttribute>]
member Reason : BuildReason with get
function get Reason () : BuildReason

Property Value

Type: Microsoft.TeamFoundation.Build.Client.BuildReason
Returns BuildReason.

.NET Framework Security

See Also

Reference

GetBuildProperties Class

Microsoft.TeamFoundation.Build.Tasks Namespace