Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IPolicyEvaluation Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.