PolicyFailure Class
Describes a failure in policy evaluation.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.VersionControl.Client.PolicyFailure
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Декларация
Public Class PolicyFailure
public class PolicyFailure
public ref class PolicyFailure
type PolicyFailure = class end
public class PolicyFailure
The PolicyFailure type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PolicyFailure | Initializes a new PolicyFailure instance. |
Top
Properties
Name | Description | |
---|---|---|
Message | Gets a description of the policy failure. | |
Policy | Gets the policy with which this failure is associated. |
Top
Methods
Name | Description | |
---|---|---|
Activate | Shows the dialog box that provides details about the policy failure. | |
DisplayHelp | Shows the Help dialog box to explain the policy failure and what steps to take to resolve it. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
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 a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.