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

WorkItemPolicy Class


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

public class WorkItemPolicy : PolicyBase

The WorkItemPolicy type exposes the following members.

Public propertyCanEdit (Overrides PolicyBase.CanEdit.)
Public propertyDescription (Overrides PolicyBase.Description.)
Protected propertyDisposedReturns true if this object has been disposed. (Inherited from PolicyBase.)
Public propertyInstallationInstructionsGets or sets textual instructions about how the policy can be installed on a computer. (Inherited from PolicyBase.)
Protected propertyPendingCheckinGet an object that represents the pending changes part of the pending checkin. (Inherited from PolicyBase.)
Public propertyType (Overrides PolicyBase.Type.)
Public propertyTypeDescription (Overrides PolicyBase.TypeDescription.)

Public methodActivate (Overrides PolicyBase.Activate(PolicyFailure).)
Public methodDisplayHelp (Overrides PolicyBase.DisplayHelp(PolicyFailure).)
Public methodDispose (Overrides PolicyBase.Dispose().)
Public methodEdit (Overrides PolicyBase.Edit(IPolicyEditArgs).)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodEvaluate (Overrides PolicyBase.Evaluate().)
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 methodGetAssemblyName (Overrides PolicyBase.GetAssemblyName().)
Public methodGetBinaryFormatter (Overrides PolicyBase.GetBinaryFormatter().)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitialize (Overrides PolicyBase.Initialize(IPendingCheckin).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnPolicyStateChangedFire the event to notify of a change in policy state. (Inherited from PolicyBase.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventPolicyStateChangedOccurs when the state of the policy is changed. (Inherited from PolicyBase.)

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