Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PolicyFailure Class

Describes a failure in policy evaluation.

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.PolicyFailure

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.

  NameDescription
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.
Top

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

  NameDescription
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.)
Top

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