IPolicyEvaluation.Evaluate Method
Evaluates the policy and returns an array of failures, if any occur. Returns an empty list if no failures occur.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Function Evaluate As PolicyFailure()
PolicyFailure[] Evaluate()
array<PolicyFailure^>^ Evaluate()
abstract Evaluate : unit -> PolicyFailure[]
function Evaluate() : PolicyFailure[]
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PolicyFailure[]
An array of failures for this policy.
.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.