Workspace.EvaluateCheckin2 方法 (CheckinEvaluationOptions, IEnumerable<PendingChange>, String, CheckinNote, array<WorkItemCheckinInfo[])
評估暫止變更驗證它們是否準備簽入。
命名空間: Microsoft.TeamFoundation.VersionControl.Client
組件: Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)
語法
'宣告
Public Function EvaluateCheckin2 ( _
options As CheckinEvaluationOptions, _
changes As IEnumerable(Of PendingChange), _
comment As String, _
checkinNote As CheckinNote, _
workItemChanges As WorkItemCheckinInfo() _
) As CheckinEvaluationResult
public CheckinEvaluationResult EvaluateCheckin2(
CheckinEvaluationOptions options,
IEnumerable<PendingChange> changes,
string comment,
CheckinNote checkinNote,
WorkItemCheckinInfo[] workItemChanges
)
參數
- options
型別:Microsoft.TeamFoundation.VersionControl.Client.CheckinEvaluationOptions
一個或多個列舉值 (請注意、原則,衝突或全部) 做為簽入評估的選項。
- changes
型別:System.Collections.Generic.IEnumerable<PendingChange>
評估的候選變更。
- comment
型別:System.String
驗證的簽入註解。
- checkinNote
型別:Microsoft.TeamFoundation.VersionControl.Client.CheckinNote
簽入提示。
- workItemChanges
型別:array<Microsoft.TeamFoundation.VersionControl.Client.WorkItemCheckinInfo[]
這個的相關工作項目簽入。
傳回值
型別:Microsoft.TeamFoundation.VersionControl.Client.CheckinEvaluationResult
評估的結果。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。