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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.