Conflict 類別
表示兩個項目之間的單一衝突。
繼承階層架構
System.Object
Microsoft.TeamFoundation.VersionControl.Client.Conflict
命名空間: Microsoft.TeamFoundation.VersionControl.Client
組件: Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)
語法
'宣告
Public NotInheritable Class Conflict
public sealed class Conflict
Conflict 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
AutoResolved | 如果衝突自動解析,則為 true |
![]() |
BaseChangeType | 取得或設定基礎檔案的變更類型。 |
![]() |
BaseDeletionId | 取得或設定基礎刪除 ID. |
![]() |
BaseEncoding | 取得或設定基底項目編碼。 |
![]() |
BaseHashValue | 取得或設定基本的雜湊值。 |
![]() |
BaseItemId | 取得或設定基底項目 ID. |
![]() |
BaseItemType | 取得或設定基底項目型別。 |
![]() |
BaseProperties | BaseServerItem 的屬性。無法填入直到 DownloadProperties() 或 GetPropertiesMergeSummary 呼叫。 |
![]() |
BasePropertyId | 取得或設定基礎屬性 id. |
![]() |
BaseServerItem | 取得或設定對應的伺服器項目。 |
![]() |
BaseVersion | 取得或設定基底項目版本。 |
![]() |
CanMergeContent | 取得描述的旗標衝突是否需要內容合併。 |
![]() |
ConflictId | 取得或設定衝突 ID. |
![]() |
ContentMergeSummary | 取得或設定有關內容合併的摘要。 |
![]() |
EncodingChanged | |
![]() |
FileExtension | 只取得衝突的擴充功能。 |
![]() |
FileName | 傳回計算的檔案名稱衝突。 |
![]() |
HasConflictingContentChange | |
![]() |
HasConflictingPropertyChange | |
![]() |
HasLocalTargetContentChangeOnly | |
![]() |
HasNoContentChange | |
![]() |
HasNoLocalRenames | |
![]() |
HasSourceServerContentChangeOnly | |
![]() |
IsBaseless | 取得描述的旗標衝突是否為無基底合併的結果。 |
![]() |
IsBasicMergeAllowed | |
![]() |
IsBinary | 如果基底,其或您的二進位檔,則為 true。 |
![]() |
IsEncodingMismatched | 如果其和您的值不同,則為 true。 |
![]() |
IsForced | 取得或設定描述的旗標衝突是否為強制的。 |
![]() |
IsFromDeletedShelveset | |
![]() |
IsNamespaceConflict | 取得或設定描述的旗標命名空間是否發生衝突。 |
![]() |
IsPropertyConflict | |
![]() |
IsResolved | 取得或設定描述的旗標衝突是否已解決。 |
![]() |
IsRollbackConflict | 取得描述的旗標衝突是否由復原作業所造成的。 |
![]() |
IsShelvesetConflict | 取得或設定描述的旗標擱置集是否發生衝突。 |
![]() |
IsValidForAutoMerge | |
![]() |
IsVersionConflictAndServerItemDoesNotExist | |
![]() |
LocalFileLastModifiedDateUsedForHashValue | |
![]() |
LocalFileLastModifiedDateUsedForThreeWayMerge | |
![]() |
LocalHashValue | |
![]() |
LocalPath | 取得衝突的區域路徑或預期的本機路徑。 |
![]() |
MayBeRedundant | |
![]() |
MergedFileName | 取得或設定合併的檔案的路徑。 |
![]() |
NameChanged | |
![]() |
Options | 取得從伺服器傳回描述的選項用戶端應該如何處理衝突。 |
![]() |
PendingChangeId | 取得或設定暫止變更 ID. |
![]() |
PropertiesMergeSummary | 如果第一個產生的,傳回屬性合併摘要。 |
![]() |
Reason | 取得或設定衝突的原因。 |
![]() |
RequiresExplicitAcceptMerge | 如果 AcceptMerge 解析度不是傳統的,但可能導致意外的結果,則傳回 true。 範例取消刪除檔案 (編輯刪除衝突) 或刪除 (刪除編輯衝突)。 |
![]() |
Resolution | 取得或設定衝突的解析度。 |
![]() |
ResolutionOptions | 取得或設定索引標籤控制項衝突如何解析。 |
![]() |
ServerPath | 取得衝突的伺服器路徑。 |
![]() |
SourceLocalItem | 取得或設定來源區域的項目。 |
![]() |
Status | 取得衝突的狀況。 |
![]() |
TargetLocalItem | 取得或設定目標區域的項目。 |
![]() |
TheirChangeType | 取得其檔案變更類型。 |
![]() |
TheirDeletionId | 取得或設定其項目刪除 ID. |
![]() |
TheirEncoding | 取得或設定其項目編碼方式。 |
![]() |
TheirFileExists | 如果衝突的右邊有一個檔案相關聯的,則傳回 true。 |
![]() |
TheirHashValue | 取得或設定其項目的雜湊值。 |
![]() |
TheirItemId | 取得或設定其項目 ID |
![]() |
TheirItemType | 取得或設定它們的項目型別。 |
![]() |
TheirLastMergedVersion | 取得或設定其前合併的版本。 |
![]() |
TheirProperties | TheirServerItem 的屬性。無法填入直到 DownloadProperties() 或 GetPropertiesMergeSummary 呼叫。 |
![]() |
TheirPropertyId | 取得或設定它們的屬性 ID. |
![]() |
TheirServerItem | 取得或設定它們的伺服器項目。 |
![]() |
TheirShelvesetDisplayName | |
![]() |
TheirShelvesetName | 取得或設定其擱置集名稱。 |
![]() |
TheirShelvesetOwnerName | 其取得或的集合擱置的主機名稱。 |
![]() |
TheirVersion | 取得或設定其項目的 ID。 |
![]() |
TheirVersionFrom | 取得或設定其版本從。 |
![]() |
Type | 取得或設定衝突類型。 |
![]() |
VersionControlServer | 取得內含此衝突的儲存機制。 |
![]() |
YourChangeType | 取得或設定您的檔案變更類型。 |
![]() |
YourDeletionId | 取得或設定您的刪除 ID. |
![]() |
YourEncoding | 取得或設定您的伺服器項目編碼。 |
![]() |
YourItemId | 取得或設定您的專案 ID。 |
![]() |
YourItemType | 取得或設定您的項目型別。 |
![]() |
YourLastMergedVersion | 取得或設定上合併的版本。 |
![]() |
YourLocalChangeType | 取得或設定本機檔案變更類型。 |
![]() |
YourProperties | YourServerItem 的屬性。無法填入直到 DownloadProperties() 或 GetPropertiesMergeSummary 呼叫。 |
![]() |
YourPropertyId | 取得或設定您的屬性 ID. |
![]() |
YourServerItem | 取得或設定您的伺服器項目。 |
![]() |
YourServerItemSource | 取得或設定伺服器項目的來源。 |
![]() |
YourVersion | 取得或設定您的項目版本。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
CleanUpMergedResultFile | |
![]() |
DownloadBaseFile | 下載衝突的基礎檔案。 |
![]() |
DownloadProperties | 下載衝突的屬性。 |
![]() |
DownloadTheirFile | 下載這些檔案的內容在衝突。如果傳入的檔案不是可用的,則會擲回例外狀況。 |
![]() |
DownloadYourFile | 下載您的檔案內容在衝突。因此,如果您的檔案不是可用的,則會擲回例外狀況。 |
![]() |
Equals | 判斷指定的物件是否等於目前物件。 (繼承自 Object)。 |
![]() ![]() |
FromXml | |
![]() |
GetBriefMessage | 收到陳述衝突的簡短訊息。針對詳細訊息,請使用 GetFullMessage()。 |
![]() |
GetDetailedMessage | 轉換衝突中可顯示的訊息。 |
![]() |
GetFullMessage | 收到陳述衝突的詳細訊息。對於簡短訊息,請使用 GetBriefMessage()。 |
![]() |
GetHashCode | 做為特定型別的雜湊函式。 (繼承自 Object)。 |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
IsAutoMergeApplicable | |
![]() |
IsRedundant | |
![]() |
MergeProperties | 產生屬性合併摘要。如果沒有屬性衝突,則會傳回 null。 |
![]() |
ResetChangeSummaryIfLocalFileModified | |
![]() |
ToString | 建立摘要此衝突物件屬性的使用者可讀取的 (Human-Readable) 字串。 (覆寫 Object.ToString()。) |
![]() |
ToXml(XmlWriter, String) | |
![]() ![]() |
ToXml(XmlWriter, String, Conflict) | |
![]() |
UpdateLocalHashValue |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。