RetentionPolicy 建構函式 (BuildReason, BuildStatus, Int32)
命名空間: Microsoft.TeamFoundation.Build.Server
組件: Microsoft.TeamFoundation.Build.Server (在 Microsoft.TeamFoundation.Build.Server.dll 中)
語法
'宣告
Public Sub New ( _
reason As BuildReason, _
status As BuildStatus, _
numberToKeep As Integer _
)
public RetentionPolicy(
BuildReason reason,
BuildStatus status,
int numberToKeep
)
參數
- numberToKeep
型別:System.Int32
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。