Partager via


WorkItemPolicy Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.PolicyBase
    Microsoft.TeamFoundation.VersionControl.Controls.WorkItemPolicy

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class WorkItemPolicy _
    Inherits PolicyBase
[SerializableAttribute]
public class WorkItemPolicy : PolicyBase
[SerializableAttribute]
public ref class WorkItemPolicy : public PolicyBase
[<SerializableAttribute>]
type WorkItemPolicy =  
    class 
        inherit PolicyBase 
    end
public class WorkItemPolicy extends PolicyBase

The WorkItemPolicy type exposes the following members.

Constructors

  Name Description
Public method WorkItemPolicy

Top

Properties

  Name Description
Public property CanEdit (Overrides PolicyBase.CanEdit.)
Public property Description (Overrides PolicyBase.Description.)
Protected property Disposed Returns true if this object has been disposed. (Inherited from PolicyBase.)
Public property InstallationInstructions Gets or sets textual instructions about how the policy can be installed on a computer. (Inherited from PolicyBase.)
Protected property PendingCheckin Get an object that represents the pending changes part of the pending checkin. (Inherited from PolicyBase.)
Public property Type (Overrides PolicyBase.Type.)
Public property TypeDescription (Overrides PolicyBase.TypeDescription.)

Top

Methods

  Name Description
Public method Activate (Overrides PolicyBase.Activate(PolicyFailure).)
Public method DisplayHelp (Overrides PolicyBase.DisplayHelp(PolicyFailure).)
Public method Dispose (Overrides PolicyBase.Dispose().)
Public method Edit (Overrides PolicyBase.Edit(IPolicyEditArgs).)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Evaluate (Overrides PolicyBase.Evaluate().)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAssemblyName (Overrides PolicyBase.GetAssemblyName().)
Public method GetBinaryFormatter (Overrides PolicyBase.GetBinaryFormatter().)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize (Overrides PolicyBase.Initialize(IPendingCheckin).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnPolicyStateChanged Fire the event to notify of a change in policy state. (Inherited from PolicyBase.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event PolicyStateChanged Occurs when the state of the policy is changed. (Inherited from PolicyBase.)

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.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Controls Namespace