An interface to interact with the run-time behavior of policies (for example, for evaluation).
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Interface IPolicyEvaluation _
    Inherits IDisposable
public interface IPolicyEvaluation : IDisposable
public interface class IPolicyEvaluation : IDisposable
type IPolicyEvaluation =  
    interface 
        interface IDisposable 
    end
public interface IPolicyEvaluation extends IDisposable
The IPolicyEvaluation type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) | Activate | Display UI allows a user to get more information about a particular policy failure. | 
| .gif) | DisplayHelp | Display UI provides help to determine the meaning of this failure and what the user can do to resolve it. | 
| .gif) | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | 
| .gif) | Evaluate | Evaluates the policy and returns an array of failures, if any occur. Returns an empty list if no failures occur. | 
| .gif) | Initialize | Initializes the policy instance so that it can perform evaluations. | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | PolicyStateChanged | An event that the policy can raise to notify the host of an asynchronous change in the list of policy failures. | 
Top