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 | |
---|---|---|
WorkItemPolicy |
Top
Properties
Name | Description | |
---|---|---|
CanEdit | (Overrides PolicyBase.CanEdit.) | |
Description | (Overrides PolicyBase.Description.) | |
Disposed | Returns true if this object has been disposed. (Inherited from PolicyBase.) | |
InstallationInstructions | Gets or sets textual instructions about how the policy can be installed on a computer. (Inherited from PolicyBase.) | |
PendingCheckin | Get an object that represents the pending changes part of the pending checkin. (Inherited from PolicyBase.) | |
Type | (Overrides PolicyBase.Type.) | |
TypeDescription | (Overrides PolicyBase.TypeDescription.) |
Top
Methods
Name | Description | |
---|---|---|
Activate | (Overrides PolicyBase.Activate(PolicyFailure).) | |
DisplayHelp | (Overrides PolicyBase.DisplayHelp(PolicyFailure).) | |
Dispose | (Overrides PolicyBase.Dispose().) | |
Edit | (Overrides PolicyBase.Edit(IPolicyEditArgs).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Evaluate | (Overrides PolicyBase.Evaluate().) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAssemblyName | (Overrides PolicyBase.GetAssemblyName().) | |
GetBinaryFormatter | (Overrides PolicyBase.GetBinaryFormatter().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize | (Overrides PolicyBase.Initialize(IPendingCheckin).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnPolicyStateChanged | Fire the event to notify of a change in policy state. (Inherited from PolicyBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
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.