PolicyFailure Class

Describes a failure in policy evaluation.


Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public class PolicyFailure

The PolicyFailure type exposes the following members.

Public methodPolicyFailure(String)Initialize the policy failure when a policy did not load. This is only used internally.
Public methodPolicyFailure(String, IPolicyEvaluation)Initializes a new PolicyFailure instance.

Public propertyMessageGets a description of the policy failure.
Public propertyPolicyGets the policy with which this failure is associated.

Public methodActivateShows the dialog box that provides details about the policy failure.
Public methodDisplayHelpShows the Help dialog box to explain the policy failure and what steps to take to resolve it.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.