VersionControlException 類別
這個 API 支援 Team Foundation Server 基礎結構並不適合直接從程式碼使用。
繼承階層
System.Object
System.Exception
System.ApplicationException
Microsoft.VisualStudio.Services.Common.VssException
Microsoft.TeamFoundation.TeamFoundationServerException
Microsoft.TeamFoundation.VersionControl.Client.VersionControlException
其他...
命名空間: Microsoft.TeamFoundation.VersionControl.Client
組件: Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)
語法
'宣告
<SerializableAttribute> _
Public Class VersionControlException _
Inherits TeamFoundationServerException
[SerializableAttribute]
public class VersionControlException : TeamFoundationServerException
VersionControlException 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
VersionControlException() | 初始化新的 VersionControlException 執行個體。 | |
VersionControlException(String) | 初始化新的 VersionControlException 執行個體。 | |
VersionControlException(SerializationInfo, StreamingContext) | 使用指定的資訊和內容,初始化 VersionControlException 類別的新執行個體。 | |
VersionControlException(String, Exception) | 初始化新的 VersionControlException 執行個體。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
Data | 取得資料與這個例外狀況,,如果有的話。 (繼承自 TeamFoundationServerException)。 | |
ErrorCode | (繼承自 VssException)。 | |
EventId | (繼承自 VssException)。 | |
HelpLink | 取得或設定與這個例外狀況相關聯的說明檔連結。 (繼承自 Exception)。 | |
HResult | 取得或設定 HRESULT,它是指派給特定例外狀況的編碼數值。 (繼承自 Exception)。 | |
InnerException | 取得造成目前例外狀況的 Exception 執行個體。 (繼承自 Exception)。 | |
IsRemoteException | 取得描述的旗標這個例外狀況是否由伺服器擲回並由用戶端接收。 (繼承自 TeamFoundationServerException)。 | |
LogException | (繼承自 VssException)。 | |
LogLevel | (繼承自 VssException)。 | |
Message | 取得描述目前例外狀況的訊息。 (繼承自 Exception)。 | |
ReportException | (繼承自 VssException)。 | |
Source | 取得或設定造成錯誤的應用程式或物件的名稱。 (繼承自 Exception)。 | |
StackTrace | 取得呼叫堆疊上即時運算框架的字串表示。 (繼承自 Exception)。 | |
TargetSite | 取得擲回目前例外狀況的方法。 (繼承自 Exception)。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
Equals | 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。 | |
Finalize | 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。 | |
GetBaseException | 在衍生類別中覆寫時,傳回一或多個後續的例外狀況的根本原因 Exception。 (繼承自 Exception)。 | |
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 | |
GetObjectData | 安全性關鍵。 (繼承自 VssException)。 | |
GetType | 取得目前執行個體的執行階段類型。 (繼承自 Exception)。 | |
MemberwiseClone | 建立目前 Object 的淺層複製。 (繼承自 Object)。 | |
ToString | 建立並傳回目前例外狀況的字串表示。 (繼承自 Exception)。 |
回頁首
事件
名稱 | 描述 | |
---|---|---|
SerializeObjectState | 當例外狀況序列化,以建立包含例外狀況相關序列化資料的例外狀況狀態物件時,就會發生此事件。 (繼承自 Exception)。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。
請參閱
參考
Microsoft.TeamFoundation.VersionControl.Client 命名空間
繼承階層
System.Object
System.Exception
System.ApplicationException
Microsoft.VisualStudio.Services.Common.VssException
Microsoft.TeamFoundation.TeamFoundationServerException
Microsoft.TeamFoundation.VersionControl.Client.VersionControlException
Microsoft.TeamFoundation.Build.Controls.NonFatalVersionControlException
Microsoft.TeamFoundation.VersionControl.Client.AcceptMergeNamespaceConflictRequiresDestinationException
Microsoft.TeamFoundation.VersionControl.Client.AcceptMergeVersionConflictRequiresDestinationException
Microsoft.TeamFoundation.VersionControl.Client.AcceptYoursRenameTheirsRequiresDestinationException
Microsoft.TeamFoundation.VersionControl.Client.ArtifactIdentifierRequiredException
Microsoft.TeamFoundation.VersionControl.Client.ArtifactNotFoundException
Microsoft.TeamFoundation.VersionControl.Client.AutoMergeDisallowedException
Microsoft.TeamFoundation.VersionControl.Client.BadChecksumException
Microsoft.TeamFoundation.VersionControl.Client.BaselineUnavailableException
Microsoft.TeamFoundation.VersionControl.Client.CannotChangeRootFolderException
Microsoft.TeamFoundation.VersionControl.Client.CannotChangeWorkspaceOwnerException
Microsoft.TeamFoundation.VersionControl.Client.CannotCheckinAllWithEditException
Microsoft.TeamFoundation.VersionControl.Client.CannotCreateFilesInRootException
Microsoft.TeamFoundation.VersionControl.Client.CannotFindLatestChangesetException
Microsoft.TeamFoundation.VersionControl.Client.CannotMergeUnderSourceException
Microsoft.TeamFoundation.VersionControl.Client.CannotMergeWithWorkspaceSpecAndPendingDeleteException
Microsoft.TeamFoundation.VersionControl.Client.CannotMoveToRootException
Microsoft.TeamFoundation.VersionControl.Client.CannotRenameBackToOriginalSourceException
Microsoft.TeamFoundation.VersionControl.Client.CannotRenameDueToChildConflictException
Microsoft.TeamFoundation.VersionControl.Client.CannotResolveAcceptMergeWithNonexistentVersionException
Microsoft.TeamFoundation.VersionControl.Client.CannotResolveBecauseShelvesetDeletedException
Microsoft.TeamFoundation.VersionControl.Client.CannotResolveConflictAsAutoMerge
Microsoft.TeamFoundation.VersionControl.Client.CannotResolveDeletedItemWithAcceptMergeException
Microsoft.TeamFoundation.VersionControl.Client.CannotResolveDueToRenameAndDelete
Microsoft.TeamFoundation.VersionControl.Client.CannotResolveToPartialUndeleteException
Microsoft.TeamFoundation.VersionControl.Client.CannotSpecifyNewNameException
Microsoft.TeamFoundation.VersionControl.Client.CannotTakeCheckoutLockInLocalWorkspaceException
Microsoft.TeamFoundation.VersionControl.Client.CannotUndeleteTeamProjectFolderException
Microsoft.TeamFoundation.VersionControl.Client.CannotUndoItemExistingLockConflictsException
Microsoft.TeamFoundation.VersionControl.Client.CannotUndoRenameDueToChildConflictException
Microsoft.TeamFoundation.VersionControl.Client.CannotUnlockException
Microsoft.TeamFoundation.VersionControl.Client.ChangesetAuthorMustBeNonGroupException
Microsoft.TeamFoundation.VersionControl.Client.ChangesetNotFoundException
Microsoft.TeamFoundation.VersionControl.Client.CheckinException
Microsoft.TeamFoundation.VersionControl.Client.CheckoutLockRequiredException
Microsoft.TeamFoundation.VersionControl.Client.CheckoutLocksDisabledException
Microsoft.TeamFoundation.VersionControl.Client.ContentNotUploadedException
Microsoft.TeamFoundation.VersionControl.Client.CorruptBaselineException
Microsoft.TeamFoundation.VersionControl.Client.CouldNotAddProxyException
Microsoft.TeamFoundation.VersionControl.Client.CouldNotDeleteProxyException
Microsoft.TeamFoundation.VersionControl.Client.CreateBranchObjectException
Microsoft.TeamFoundation.VersionControl.Client.DateVersionSpecBeforeBeginningOfRepositoryException
Microsoft.TeamFoundation.VersionControl.Client.DeltaException
Microsoft.TeamFoundation.VersionControl.Client.DepthOneMappingsNotSupportedException
Microsoft.TeamFoundation.VersionControl.Client.DestroyedContentUnavailableException
Microsoft.TeamFoundation.VersionControl.Client.DuplicateChangeException
Microsoft.TeamFoundation.VersionControl.Client.DuplicateCheckinNoteFieldException
Microsoft.TeamFoundation.VersionControl.Client.DuplicateExtensionException
Microsoft.TeamFoundation.VersionControl.Client.DuplicateFileTypeException
Microsoft.TeamFoundation.VersionControl.Client.DuplicateItemFoundException
Microsoft.TeamFoundation.VersionControl.Client.DuplicateWorkingFolderException
Microsoft.TeamFoundation.VersionControl.Client.FeatureNotSupportedException
Microsoft.TeamFoundation.VersionControl.Client.FileIdNotFoundException
Microsoft.TeamFoundation.VersionControl.Client.FutureDateException
Microsoft.TeamFoundation.VersionControl.Client.GenericException
Microsoft.TeamFoundation.VersionControl.Client.GetLatestOnCheckoutDisabledException
Microsoft.TeamFoundation.VersionControl.Client.IdentityDeletedException
Microsoft.TeamFoundation.VersionControl.Client.IllegalCommentException
Microsoft.TeamFoundation.VersionControl.Client.IllegalComputerNameException
Microsoft.TeamFoundation.VersionControl.Client.IllegalFieldNameException
Microsoft.TeamFoundation.VersionControl.Client.IllegalIdentityException
Microsoft.TeamFoundation.VersionControl.Client.IllegalLabelNameException
Microsoft.TeamFoundation.VersionControl.Client.IllegalPolicyNameException
Microsoft.TeamFoundation.VersionControl.Client.IllegalShelvesetException
Microsoft.TeamFoundation.VersionControl.Client.IllegalShelvesetOwnerException
Microsoft.TeamFoundation.VersionControl.Client.IllegalUrlException
Microsoft.TeamFoundation.VersionControl.Client.IllegalVersionException
Microsoft.TeamFoundation.VersionControl.Client.IllegalWorkspaceException
Microsoft.TeamFoundation.VersionControl.Client.IncompatibleCompressionFormatException
Microsoft.TeamFoundation.VersionControl.Client.IncompletePendingChangeException
Microsoft.TeamFoundation.VersionControl.Client.IncompleteUploadException
Microsoft.TeamFoundation.VersionControl.Client.InconsistentRequestTypesException
Microsoft.TeamFoundation.VersionControl.Client.IncorrectSizeException
Microsoft.TeamFoundation.VersionControl.Client.InvalidAcceptYoursException
Microsoft.TeamFoundation.VersionControl.Client.InvalidAcceptYoursRenameTheirsException
Microsoft.TeamFoundation.VersionControl.Client.InvalidBranchCheckinOptionException
Microsoft.TeamFoundation.VersionControl.Client.InvalidCheckinDateException
Microsoft.TeamFoundation.VersionControl.Client.InvalidCheckinTicketException
Microsoft.TeamFoundation.VersionControl.Client.InvalidConflictIdException
Microsoft.TeamFoundation.VersionControl.Client.InvalidExtensionException
Microsoft.TeamFoundation.VersionControl.Client.InvalidFileIdException
Microsoft.TeamFoundation.VersionControl.Client.InvalidFileTypeException
Microsoft.TeamFoundation.VersionControl.Client.InvalidResolutionException
Microsoft.TeamFoundation.VersionControl.Client.InvalidSqlDateException
Microsoft.TeamFoundation.VersionControl.Client.InvalidVersionSpecException
Microsoft.TeamFoundation.VersionControl.Client.InvalidVersionSpecForOperationException
Microsoft.TeamFoundation.VersionControl.Client.ItemRequiredException
Microsoft.TeamFoundation.VersionControl.Client.LabelExistsException
Microsoft.TeamFoundation.VersionControl.Client.LabelHasChildrenException
Microsoft.TeamFoundation.VersionControl.Client.LabelNotFoundException
Microsoft.TeamFoundation.VersionControl.Client.LabelNotUniqueException
Microsoft.TeamFoundation.VersionControl.Client.LabelOwnerChangeException
Microsoft.TeamFoundation.VersionControl.Client.LocalPathTooLongException
Microsoft.TeamFoundation.VersionControl.Client.LocalWorkspaceTransactionAlreadyRunningException
Microsoft.TeamFoundation.VersionControl.Client.LongPathInWorkspaceRequires2012QU1Exception
Microsoft.TeamFoundation.VersionControl.Client.MappingConflictException
Microsoft.TeamFoundation.VersionControl.Client.MaxRowsEvaluatedException
Microsoft.TeamFoundation.VersionControl.Client.MergeEditDeleteException
Microsoft.TeamFoundation.VersionControl.Client.MergeTargetFileSourceDirectoryException
Microsoft.TeamFoundation.VersionControl.Client.MergeTargetPathAlreadyHasPendingMergeException
Microsoft.TeamFoundation.VersionControl.Client.MergeTargetPathHasIncompatiblePendingChangeException
Microsoft.TeamFoundation.VersionControl.Client.MergeTargetPathHasNamespacePendingChangeConflictException
Microsoft.TeamFoundation.VersionControl.Client.MissingBaselineException
Microsoft.TeamFoundation.VersionControl.Client.MultipleWorkspacesFoundException
Microsoft.TeamFoundation.VersionControl.Client.MustUndeleteParentException
Microsoft.TeamFoundation.VersionControl.Client.NoChangesToShelveException
Microsoft.TeamFoundation.VersionControl.Client.NoMergeRelationshipException
Microsoft.TeamFoundation.VersionControl.Client.OnlyOneWorkspaceException
Microsoft.TeamFoundation.VersionControl.Client.OwnerRequiredException
Microsoft.TeamFoundation.VersionControl.Client.PartialRenameConflictException
Microsoft.TeamFoundation.VersionControl.Client.PendingChangeChangedException
Microsoft.TeamFoundation.VersionControl.Client.PendingChangeContentNotFoundException
Microsoft.TeamFoundation.VersionControl.Client.PluginHasMultipleInterfacesException
Microsoft.TeamFoundation.VersionControl.Client.ReconcileFailedException
Microsoft.TeamFoundation.VersionControl.Client.RepositoryNotFoundException
Microsoft.TeamFoundation.VersionControl.Client.RepositoryPathTooLongDetailedException
Microsoft.TeamFoundation.VersionControl.Client.RepositoryPathTooLongDueToDeletedItemsException
Microsoft.TeamFoundation.VersionControl.Client.RepositoryPathTooLongException
Microsoft.TeamFoundation.VersionControl.Client.ReservedAnnotationException
Microsoft.TeamFoundation.VersionControl.Client.RollbackInvalidOptionException
Microsoft.TeamFoundation.VersionControl.Client.RollbackInvalidVersionSpecException
Microsoft.TeamFoundation.VersionControl.Client.RootInheritanceException
Microsoft.TeamFoundation.VersionControl.Client.SecurityConfigurationException
Microsoft.TeamFoundation.VersionControl.Client.SecurityException
Microsoft.TeamFoundation.VersionControl.Client.ServerItemException
Microsoft.TeamFoundation.VersionControl.Client.ShelveException
Microsoft.TeamFoundation.VersionControl.Client.ShelveMergeConflictExistsException
Microsoft.TeamFoundation.VersionControl.Client.ShelvesetExistsException
Microsoft.TeamFoundation.VersionControl.Client.ShelvesetNotFoundException
Microsoft.TeamFoundation.VersionControl.Client.ShelvingPartialRenameConflictException
Microsoft.TeamFoundation.VersionControl.Client.TargetIsChildException
Microsoft.TeamFoundation.VersionControl.Client.TeamFoundationVersionControlNotEnabledForTeamProject
Microsoft.TeamFoundation.VersionControl.Client.TeamProjectCannotDeleteException
Microsoft.TeamFoundation.VersionControl.Client.TeamProjectNotEmptyException
Microsoft.TeamFoundation.VersionControl.Client.TeamProjectNotFoundException
Microsoft.TeamFoundation.VersionControl.Client.UnableToLoadLocalPropertiesTableException
Microsoft.TeamFoundation.VersionControl.Client.UnableToLoadLocalVersionTableException
Microsoft.TeamFoundation.VersionControl.Client.UnableToLoadPendingChangesTableException
Microsoft.TeamFoundation.VersionControl.Client.UndeleteAboveUnrelatedItemException
Microsoft.TeamFoundation.VersionControl.Client.UndeleteNewNameNotSupportedException
Microsoft.TeamFoundation.VersionControl.Client.UnshelveException
Microsoft.TeamFoundation.VersionControl.Client.UnshelvingPartialRenameException
Microsoft.TeamFoundation.VersionControl.Client.UploadFileException
Microsoft.TeamFoundation.VersionControl.Client.WebMethodNotSupportedException
Microsoft.TeamFoundation.VersionControl.Client.WildcardNotAllowedException
Microsoft.TeamFoundation.VersionControl.Client.WorkingFolderInUseException
Microsoft.TeamFoundation.VersionControl.Client.WorkItemUpdateException
Microsoft.TeamFoundation.VersionControl.Client.WorkspaceDeletedException
Microsoft.TeamFoundation.VersionControl.Client.WorkspaceException
Microsoft.TeamFoundation.VersionControl.Client.WorkspaceVersionTableException