This documentation is archived and is not being maintained.

BuildPolicy Class


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

public class BuildPolicy : PolicyBase

The BuildPolicy type exposes the following members.

Public methodBuildPolicy

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 methodActivateCalled if the user double-clicks on a policy failure. (Inherited from PolicyBase.)
Public methodDisplayHelp (Overrides PolicyBase.DisplayHelp(PolicyFailure).)
Public methodDisposeDisposes this object. (Inherited from PolicyBase.)
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.