IPolicyEvaluation Interface
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
'Déclaration
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 | |
---|---|---|
Activate | Display UI allows a user to get more information about a particular policy failure. | |
DisplayHelp | Display UI provides help to determine the meaning of this failure and what the user can do to resolve it. | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
Evaluate | Evaluates the policy and returns an array of failures, if any occur. Returns an empty list if no failures occur. | |
Initialize | Initializes the policy instance so that it can perform evaluations. |
Top
Events
Name | Description | |
---|---|---|
PolicyStateChanged | An event that the policy can raise to notify the host of an asynchronous change in the list of policy failures. |
Top