This interface is used for backward compatibility for checkin policies that have been moved to new types or assemblies.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Interface IPolicyCompatibility _
    Inherits IPolicyDefinition
public interface IPolicyCompatibility : IPolicyDefinition
public interface class IPolicyCompatibility : IPolicyDefinition
type IPolicyCompatibility =  
    interface 
        interface IPolicyDefinition 
    end
public interface IPolicyCompatibility extends IPolicyDefinition
The IPolicyCompatibility type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | CanEdit | Gets a flag that describes whether this policy includes configuration user interface (UI). (Inherited from IPolicyDefinition.) | 
| .gif) | Description | Gets a description of the behavior of this policy instance. (Inherited from IPolicyDefinition.) | 
| .gif) | InstallationInstructions | Gets a message that is displayed if the policy appears not to be installed. (Inherited from IPolicyDefinition.) | 
| .gif) | Type | Gets the type of the policy. (Inherited from IPolicyDefinition.) | 
| .gif) | TypeDescription | Gets a description of the policy type. (Inherited from IPolicyDefinition.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Edit | Displays a dialog box to allow user to configure the properties of the policy. (Inherited from IPolicyDefinition.) | 
| .gif) | GetAssemblyName | Used for backward compatibility where you must specify a different assembly name for the checkin policy in order to maintain backward compatibility with a previously released version of the checkin policy. | 
| .gif) | GetBinaryFormatter | This is necessary if you want to create a new BinaryFormatter and hook into the serialization process for backward compatibility (e.g., you want to set the Binder property on the formatter to handle compat for a checkin policy that has been moved to another assembly). If you do not want to hook into the serialization process, just return new BinaryFormatter(). | 
Top