This topic has not yet been rated - Rate this topic

PolicyFailure Class

Describes a failure in policy evaluation.

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 a hash function for a particular type. (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.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.