Workspace.EvaluateCheckin2 Method (CheckinEvaluationOptions, IEnumerable<PendingChange>, String, CheckinNote, array<WorkItemCheckinInfo )
Evaluate the pending changes to verify whether they are ready to check in.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
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
)
public:
CheckinEvaluationResult^ EvaluateCheckin2(
CheckinEvaluationOptions options,
IEnumerable<PendingChange^>^ changes,
String^ comment,
CheckinNote^ checkinNote,
array<WorkItemCheckinInfo^>^ workItemChanges
)
member EvaluateCheckin2 :
options:CheckinEvaluationOptions *
changes:IEnumerable<PendingChange> *
comment:string *
checkinNote:CheckinNote *
workItemChanges:WorkItemCheckinInfo[] -> CheckinEvaluationResult
public function EvaluateCheckin2(
options : CheckinEvaluationOptions,
changes : IEnumerable<PendingChange>,
comment : String,
checkinNote : CheckinNote,
workItemChanges : WorkItemCheckinInfo[]
) : CheckinEvaluationResult
Parameters
- options
Type: Microsoft.TeamFoundation.VersionControl.Client.CheckinEvaluationOptions
One or more of the enum values (Notes, Policies, Conflicts, or All) as options for the check-in evaluation.
- changes
Type: System.Collections.Generic.IEnumerable<PendingChange>
The candidate changes for evaluation.
- comment
Type: System.String
Check-in comment for validation.
- checkinNote
Type: Microsoft.TeamFoundation.VersionControl.Client.CheckinNote
Check-in notes.
- workItemChanges
Type: array<Microsoft.TeamFoundation.VersionControl.Client.WorkItemCheckinInfo[]
Associated work items for this check-in.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.CheckinEvaluationResult
The result of the evaluation.
.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.