共用方式為


GetBuildProperties.Reason 屬性

這個的建置要求。

命名空間:  Microsoft.TeamFoundation.Build.Tasks
組件:  Microsoft.TeamFoundation.Build.ProcessComponents (在 Microsoft.TeamFoundation.Build.ProcessComponents.dll 中)

語法

'宣告
<OutputAttribute> _
Public ReadOnly Property Reason As BuildReason
[OutputAttribute]
public BuildReason Reason { get; }

屬性值

型別:Microsoft.TeamFoundation.Build.Client.BuildReason
傳回 BuildReason

.NET Framework 安全性

請參閱

參考

GetBuildProperties 類別

Microsoft.TeamFoundation.Build.Tasks 命名空間