Export (0) Print
Expand All

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)

public interface IPolicyEvaluation : IDisposable

The IPolicyEvaluation type exposes the following members.

  NameDescription
Public methodActivateDisplay UI allows a user to get more information about a particular policy failure.
Public methodDisplayHelpDisplay UI provides help to determine the meaning of this failure and what the user can do to resolve it.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodEvaluateEvaluates the policy and returns an array of failures, if any occur. Returns an empty list if no failures occur.
Public methodInitializeInitializes the policy instance so that it can perform evaluations.
Top

  NameDescription
Public eventPolicyStateChangedAn event that the policy can raise to notify the host of an asynchronous change in the list of policy failures.
Top

Community Additions

ADD
Show:
© 2014 Microsoft