PolicyBase Members

Include Protected Members
Include Inherited Members

Base class to inherit for a new check-in policy.

The PolicyBase type exposes the following members.

Constructors

 

Name

Description

Protected method

PolicyBase

Top

Methods

 

Name

Description

Public method

Activate

Called if the user double-clicks on a policy failure.

Public method

DisplayHelp

Called if F1 is pressed when a policy failure is active on the user's display.

Public method

Dispose

Public method

Edit

Used to show a dialog or other UI to the user to specify options for the check-in policy.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Public method

Evaluate

Performs the actual policy evaluation.

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

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

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnPolicyStateChanged

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

CanEdit

Gets whether or not this policy includes configuration UI. true if the policy includes configuration UI; otherwise false.

Public property

Description

Gets the description of this policy.

Protected property

Disposed

Public property

InstallationInstructions

Gets or sets textual instructions on how the policy can be installed on a computer.

Protected property

PendingCheckin

Public property

Type

Gets the string to describe this policy.

Public property

TypeDescription

Gets the description of this type of policy.

Top

Events

 

Name

Description

Public event

PolicyStateChanged

Top

See Also

Reference

PolicyBase Class

Microsoft.TeamFoundation.VersionControl.Client Namespace