This documentation is archived and is not being maintained.
PolicyList Class
Visual Studio 2013
Manages a list of loaded policies for a set of pending changes.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
The PolicyList type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | PolicyList | Initializes the policy list so that it can access the policy information on the server. |
| Name | Description | |
|---|---|---|
![]() | EvaluationState | Gets the overall state of the policy list. |
![]() | Failures | Gets the array of current policy failures. |
![]() | PendingCheckin | Sets the pending check-in object with which this policy list is associated. |
![]() | PolicyCount | Gets the number of policies in this list. |
| Name | Description | |
|---|---|---|
![]() | Dispose | Clean up the object when it is no longer required. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Evaluate | Evaluates the policies for the current list of pending changes. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | LoadPolicies | Loads the currently applicable policies. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReloadAndEvaluate | Reloads the policies and evaluates the policies for the current list of pending changes. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | PolicyEvaluationStateChanged | An event that occurs when the policy failure list is updated asynchronously. It does not occur when the Evaluate method is called. |
![]() | PolicyStateChanged | An event that occurs when the policy failure list is updated asynchronously. It does not occur when the Evaluate method is called. |
Show:
