CheckinNote.Evaluate Method (CheckinNote, array<CheckinNoteFieldDefinition )
Evaluates a CheckinNote's CheckinNoteFieldValues against the supplied CheckinNoteFieldDefinitions and returns a CheckinNoteFailure for each note not specified, or each note specified that has no definition (extraneous notes).
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function Evaluate ( _
note As CheckinNote, _
fieldDefinitions As CheckinNoteFieldDefinition() _
) As CheckinNoteFailure()
public static CheckinNoteFailure[] Evaluate(
CheckinNote note,
CheckinNoteFieldDefinition[] fieldDefinitions
)
public:
static array<CheckinNoteFailure^>^ Evaluate(
CheckinNote^ note,
array<CheckinNoteFieldDefinition^>^ fieldDefinitions
)
static member Evaluate :
note:CheckinNote *
fieldDefinitions:CheckinNoteFieldDefinition[] -> CheckinNoteFailure[]
public static function Evaluate(
note : CheckinNote,
fieldDefinitions : CheckinNoteFieldDefinition[]
) : CheckinNoteFailure[]
Parameters
note
Type: Microsoft.TeamFoundation.VersionControl.Client.CheckinNoteThe CheckinNote to evaluate. May be null.
fieldDefinitions
Type: array<Microsoft.TeamFoundation.VersionControl.Client.CheckinNoteFieldDefinition[]The set of field definitions to evaluate against
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.CheckinNoteFailure[]
The set of checkin note failures
.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.