BuildPolicy Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.PolicyBase
    Microsoft.TeamFoundation.Build.Controls.BuildPolicy

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

Syntax

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

The BuildPolicy type exposes the following members.

Constructors

  Name Description
Public method BuildPolicy

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 Called if the user double-clicks on a policy failure. (Inherited from PolicyBase.)
Public method DisplayHelp (Overrides PolicyBase.DisplayHelp(PolicyFailure).)
Public method Dispose Disposes this object. (Inherited from PolicyBase.)
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 a hash function for a particular type. (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.Build.Controls Namespace