Represents a single conflict between two items.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.Conflict
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public NotInheritable Class Conflict
public sealed class Conflict
public ref class Conflict sealed
[<Sealed>]
type Conflict =  class end
public final class Conflict
The Conflict type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | BaseChangeType | Gets or sets the change type of the base file. | 
| .gif) | BaseDeletionId | Gets or sets the base deletion ID. | 
| .gif) | BaseEncoding | Gets or sets the base item encoding. | 
| .gif) | BaseHashValue | Gets or sets the base item hash value. | 
| .gif) | BaseItemId | Gets or sets the base item ID. | 
| .gif) | BaseItemType | Gets or sets the base item type. | 
| .gif) | BaseServerItem | Gets or sets the base server item. | 
| .gif) | BaseVersion | Gets or sets the base item version. | 
| .gif) | CanMergeContent | Gets a flag that describes whether this conflict would need a content merge. | 
| .gif) | ConflictId | Gets or sets the conflict ID. | 
| .gif) | ContentMergeSummary | Gets or sets the summary about the content merge. | 
| .gif) | IsBaseless | Gets a flag that describes whether this conflict is the result of a baseless merge. | 
| .gif) | IsForced | Gets or sets a flag that describes whether the conflict is forced. | 
| .gif) | IsNamespaceConflict | Gets or sets a flag that describes whether the namespace is in conflict. | 
| .gif) | IsResolved | Gets or sets a flag that describes whether the conflict is resolved. | 
| .gif) | IsRollbackConflict | Gets a flag that describes whether this conflict was caused by a rollback operation. | 
| .gif) | MergedFileName | Gets or sets the path of the merged file. | 
| .gif) | Options | Gets the options that are returned from the server that describe how the client should process this conflict. | 
| .gif) | PendingChangeId | Gets or sets the pending change ID. | 
| .gif) | Reason | Gets or sets the reason for the conflict. | 
| .gif) | Resolution | Gets or sets the resolution of the conflict. | 
| .gif) | ResolutionOptions | Gets or sets the options to control how the conflict is resolved. | 
| .gif) | SourceLocalItem | Gets or sets the source local item. | 
| .gif) | Status | Gets the status of the conflict. | 
| .gif) | TargetLocalItem | Gets or sets the target local item. | 
| .gif) | TheirChangeType | Gets the change type of their file. | 
| .gif) | TheirDeletionId | Gets or sets their item deletion ID. | 
| .gif) | TheirEncoding | Gets or sets their item encoding. | 
| .gif) | TheirHashValue | Gets or sets their item hash value. | 
| .gif) | TheirItemId | Gets or sets their item ID. | 
| .gif) | TheirItemType | Gets or sets their item type. | 
| .gif) | TheirLastMergedVersion | Gets or sets their last merged version. | 
| .gif) | TheirServerItem | Gets or sets their server item. | 
| .gif) | TheirVersion | Gets or sets the ID of their item version. | 
| .gif) | TheirVersionFrom | Gets or sets their version from. | 
| .gif) | Type | Gets or sets the conflict type. | 
| .gif) | VersionControlServer | Gets the repository that contains this conflict. | 
| .gif) | YourChangeType | Gets or sets the change type of your file. | 
| .gif) | YourDeletionId | Gets or sets your deletion ID. | 
| .gif) | YourEncoding | Gets or sets your server item encoding. | 
| .gif) | YourItemId | Gets or sets the ID of your item. | 
| .gif) | YourItemType | Gets or sets your item type. | 
| .gif) | YourLastMergedVersion | Gets or sets your last merged version. | 
| .gif) | YourLocalChangeType | Gets or sets the change type of your local file. | 
| .gif) | YourServerItem | Gets or sets your server item. | 
| .gif) | YourServerItemSource | Gets or sets the source of the server item. | 
| .gif) | YourVersion | Gets or sets the version of your item. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | DownloadBaseFile | Downloads the base file for this conflict. | 
| .gif) | DownloadTheirFile | Downloads the content for their file in the conflict. Throws an exception if no incoming file is available. | 
| .gif) | DownloadYourFile | Downloads the content for your file in the conflict. Throws an exception if no your file is available. | 
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetBriefMessage | Gets a brief message that describes this conflict. For a verbose message, use GetFullMessage(). | 
| .gif) | GetFullMessage | Gets a verbose message that describes this conflict. For a brief message, use GetBriefMessage(). | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Creates a user-readable string that summarizes the properties of this Conflict object. (Overrides Object.ToString().) | 
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.