ServerException 類別
所有伺服器所產生之例外狀況的基底類別。
繼承階層架構
System.Object
System.Exception
System.ApplicationException
Microsoft.VisualStudio.Services.Common.VssException
Microsoft.TeamFoundation.TeamFoundationServerException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
Microsoft.TeamFoundation.VersionControl.Server.ServerException
其他...
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
<SerializableAttribute> _
Public MustInherit Class ServerException _
Inherits TeamFoundationServiceException
[SerializableAttribute]
public abstract class ServerException : TeamFoundationServiceException
ServerException 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
ServerException() | ||
ServerException(String) | ||
ServerException(String, Exception) |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
Data | 取得資料與這個例外狀況,,如果有的話。 (繼承自 TeamFoundationServerException)。 | |
ErrorCode | (繼承自 VssException)。 | |
EventId | (繼承自 VssException)。 | |
FaultCode | 表示例外狀況的 SOAP 錯誤碼。 (繼承自 TeamFoundationServiceException)。 | |
HelpLink | 取得或設定與這個例外狀況相關聯說明檔的連結。 (繼承自 Exception)。 | |
HResult | 取得或設定 HRESULT,它是指派給特定例外狀況的編碼數值。 (繼承自 Exception)。 | |
InnerException | 取得造成目前例外狀況的 Exception 執行個體。 (繼承自 Exception)。 | |
IsRemoteException | 取得描述的旗標這個例外狀況是否由伺服器擲回並由用戶端接收。 (繼承自 TeamFoundationServerException)。 | |
LogException | (繼承自 VssException)。 | |
LogLevel | (繼承自 VssException)。 | |
Message | 取得描述目前例外狀況的訊息。 (繼承自 Exception)。 | |
ReportException | (繼承自 VssException)。 | |
RequestContext | RequestContext 與這個例外狀況。這可能是 Null。 (繼承自 TeamFoundationServiceException)。 | |
Source | 取得或設定造成錯誤的應用程式或物件的名稱。 (繼承自 Exception)。 | |
StackTrace | 取得呼叫堆疊上之立即框架的字串表示。 (繼承自 Exception)。 | |
TargetSite | 取得擲回目前例外狀況的方法。 (繼承自 Exception)。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
Equals | 判斷指定的物件是否等於目前物件。 (繼承自 Object)。 | |
ExtractIdentityName | 解析 SqlError 訊息並擷取索引鍵所識別的欄位。欄位會將識別 ID,然後, ID 轉譯為顯示名稱。 | |
ExtractLocalItem | 解析 SqlError 訊息並擷取索引鍵所識別的欄位。欄位會將本機路徑。 | |
ExtractLocalOrServerItem | 解析 SqlError 訊息並擷取索引鍵所識別的欄位。欄位會將本機路徑或伺服器路徑。 | |
ExtractServerItem | 解析 SqlError 訊息並擷取索引鍵所識別的欄位。欄位會被視為伺服器路徑。 | |
Finalize | 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。 | |
GetBaseException | 在衍生類別中覆寫時,傳回一或多個後續的例外狀況的根本原因 Exception。 (繼承自 Exception)。 | |
GetExceptionProperties | 擷取應序列化到用戶端例外狀況的屬性。屬性會當做 SOAP 詳細資料節點名稱「屬性的子系」。每個屬性被覆寫,以便節點的名稱是屬性名稱,而這個項目的文字子系是值。「type」屬性在還原序列化包含以屬性節點的說明。 (繼承自 TeamFoundationServiceException)。 | |
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 | |
GetObjectData | 安全性關鍵。在這個例外狀況類別儲存額外的屬性。 (繼承自 TeamFoundationServiceException)。 | |
GetType | 取得目前執行個體的執行階段型別。 (繼承自 Exception)。 | |
MemberwiseClone | 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。 | |
SetFailureInfo | ||
ToString | 建立並傳回目前例外狀況的字串表示。 (繼承自 Exception)。 |
回頁首
事件
名稱 | 描述 | |
---|---|---|
SerializeObjectState | 發生於已將例外狀況序列化來建立例外狀況狀態物件時,這個物件包含例外狀況的相關序列化資料。 (繼承自 Exception)。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。
請參閱
參考
Microsoft.TeamFoundation.VersionControl.Server 命名空間
繼承階層架構
System.Object
System.Exception
System.ApplicationException
Microsoft.VisualStudio.Services.Common.VssException
Microsoft.TeamFoundation.TeamFoundationServerException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
Microsoft.TeamFoundation.VersionControl.Server.ServerException
Microsoft.TeamFoundation.VersionControl.Server.AcceptMergeNamespaceConflictRequiresDestinationException
Microsoft.TeamFoundation.VersionControl.Server.AcceptMergeVersionConflictRequiresDestinationException
Microsoft.TeamFoundation.VersionControl.Server.AcceptYoursRenameTheirsRequiresDestinationException
Microsoft.TeamFoundation.VersionControl.Server.ArtifactIdentifierRequiredException
Microsoft.TeamFoundation.VersionControl.Server.AutoMergeDisallowedException
Microsoft.TeamFoundation.VersionControl.Server.BadChecksumException
Microsoft.TeamFoundation.VersionControl.Server.CannotChangeRootFolderException
Microsoft.TeamFoundation.VersionControl.Server.CannotChangeWorkspaceOwnerException
Microsoft.TeamFoundation.VersionControl.Server.CannotCheckinAllWithEditException
Microsoft.TeamFoundation.VersionControl.Server.CannotCreateFilesInRootException
Microsoft.TeamFoundation.VersionControl.Server.CannotCreateNewUserDuringCheckinException
Microsoft.TeamFoundation.VersionControl.Server.CannotFindLatestChangesetException
Microsoft.TeamFoundation.VersionControl.Server.CannotMergeUnderSourceException
Microsoft.TeamFoundation.VersionControl.Server.CannotMergeWithWorkspaceSpecAndPendingDeleteException
Microsoft.TeamFoundation.VersionControl.Server.CannotMoveToRootException
Microsoft.TeamFoundation.VersionControl.Server.CannotRenameBackToOriginalSourceException
Microsoft.TeamFoundation.VersionControl.Server.CannotRenameDueToChildConflictException
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveAcceptMergeWithNonexistentVersionException
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveBecauseShelvesetDeletedException
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveConflictAsAutoMerge
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveDeletedItemWithAcceptMergeException
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveDueToRenameAndDelete
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveToPartialUndeleteException
Microsoft.TeamFoundation.VersionControl.Server.CannotSpecifyNewNameException
Microsoft.TeamFoundation.VersionControl.Server.CannotTakeCheckoutLockInLocalWorkspaceException
Microsoft.TeamFoundation.VersionControl.Server.CannotUndeleteTeamProjectFolderException
Microsoft.TeamFoundation.VersionControl.Server.CannotUndoItemExistingLockConflictsException
Microsoft.TeamFoundation.VersionControl.Server.CannotUndoRenameDueToChildConflictException
Microsoft.TeamFoundation.VersionControl.Server.CannotUnlockException
Microsoft.TeamFoundation.VersionControl.Server.ChangesetAuthorMustBeNonGroupException
Microsoft.TeamFoundation.VersionControl.Server.ChangesetNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.CheckoutLockRequiredException
Microsoft.TeamFoundation.VersionControl.Server.CheckoutLocksDisabledException
Microsoft.TeamFoundation.VersionControl.Server.ContentNotUploadedException
Microsoft.TeamFoundation.VersionControl.Server.CouldNotAddProxyException
Microsoft.TeamFoundation.VersionControl.Server.CouldNotDeleteProxyException
Microsoft.TeamFoundation.VersionControl.Server.CreateBranchObjectException
Microsoft.TeamFoundation.VersionControl.Server.DateVersionSpecBeforeBeginningOfRepositoryException
Microsoft.TeamFoundation.VersionControl.Server.DestroyedContentUnavailableException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateChangeException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateCheckinNoteFieldException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateExtensionException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateFileTypeException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateItemFoundException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateWorkingFolderException
Microsoft.TeamFoundation.VersionControl.Server.FeatureNotSupportedException
Microsoft.TeamFoundation.VersionControl.Server.FileIdNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.FutureDateException
Microsoft.TeamFoundation.VersionControl.Server.GenericDatabaseUpdateErrorException
Microsoft.TeamFoundation.VersionControl.Server.GenericException
Microsoft.TeamFoundation.VersionControl.Server.GetLatestOnCheckoutDisabledException
Microsoft.TeamFoundation.VersionControl.Server.IdenticalPathsDueToCollationException
Microsoft.TeamFoundation.VersionControl.Server.IdentityDeletedException
Microsoft.TeamFoundation.VersionControl.Server.IllegalCommentException
Microsoft.TeamFoundation.VersionControl.Server.IllegalComputerNameException
Microsoft.TeamFoundation.VersionControl.Server.IllegalFieldNameException
Microsoft.TeamFoundation.VersionControl.Server.IllegalIdentityException
Microsoft.TeamFoundation.VersionControl.Server.IllegalLabelNameException
Microsoft.TeamFoundation.VersionControl.Server.IllegalPolicyNameException
Microsoft.TeamFoundation.VersionControl.Server.IllegalShelvesetException
Microsoft.TeamFoundation.VersionControl.Server.IllegalShelvesetOwnerException
Microsoft.TeamFoundation.VersionControl.Server.IllegalUrlException
Microsoft.TeamFoundation.VersionControl.Server.IllegalVersionException
Microsoft.TeamFoundation.VersionControl.Server.IllegalWorkspaceException
Microsoft.TeamFoundation.VersionControl.Server.IncompatibleCompressionFormatException
Microsoft.TeamFoundation.VersionControl.Server.IncompletePendingChangeException
Microsoft.TeamFoundation.VersionControl.Server.IncompleteUploadException
Microsoft.TeamFoundation.VersionControl.Server.InconsistentRequestTypesException
Microsoft.TeamFoundation.VersionControl.Server.IncorrectSizeException
Microsoft.TeamFoundation.VersionControl.Server.InvalidAcceptYoursException
Microsoft.TeamFoundation.VersionControl.Server.InvalidAcceptYoursRenameTheirsException
Microsoft.TeamFoundation.VersionControl.Server.InvalidBranchCheckinOptionException
Microsoft.TeamFoundation.VersionControl.Server.InvalidCheckinDateException
Microsoft.TeamFoundation.VersionControl.Server.InvalidCheckinTicketException
Microsoft.TeamFoundation.VersionControl.Server.InvalidConflictIdException
Microsoft.TeamFoundation.VersionControl.Server.InvalidExtensionException
Microsoft.TeamFoundation.VersionControl.Server.InvalidFileIdException
Microsoft.TeamFoundation.VersionControl.Server.InvalidResolutionException
Microsoft.TeamFoundation.VersionControl.Server.InvalidSqlDateException
Microsoft.TeamFoundation.VersionControl.Server.InvalidVersionSpecException
Microsoft.TeamFoundation.VersionControl.Server.InvalidVersionSpecForOperationException
Microsoft.TeamFoundation.VersionControl.Server.ItemRequiredException
Microsoft.TeamFoundation.VersionControl.Server.LabelExistsException
Microsoft.TeamFoundation.VersionControl.Server.LabelHasChildrenException
Microsoft.TeamFoundation.VersionControl.Server.LabelNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.LabelNotUniqueException
Microsoft.TeamFoundation.VersionControl.Server.LabelOwnerChangeException
Microsoft.TeamFoundation.VersionControl.Server.LocalPathTooLongException
Microsoft.TeamFoundation.VersionControl.Server.LongPathInWorkspaceRequires2012QU1Exception
Microsoft.TeamFoundation.VersionControl.Server.MaxRowsEvaluatedException
Microsoft.TeamFoundation.VersionControl.Server.MergeEditDeleteException
Microsoft.TeamFoundation.VersionControl.Server.MergeTargetFileSourceDirectoryException
Microsoft.TeamFoundation.VersionControl.Server.MergeTargetPathAlreadyHasPendingMergeException
Microsoft.TeamFoundation.VersionControl.Server.MergeTargetPathHasIncompatiblePendingChangeException
Microsoft.TeamFoundation.VersionControl.Server.MergeTargetPathHasNamespacePendingChangeConflictException
Microsoft.TeamFoundation.VersionControl.Server.MustUndeleteParentException
Microsoft.TeamFoundation.VersionControl.Server.NoChangesToShelveException
Microsoft.TeamFoundation.VersionControl.Server.NoMergeRelationshipException
Microsoft.TeamFoundation.VersionControl.Server.OwnerRequiredException
Microsoft.TeamFoundation.VersionControl.Server.PartialRenameConflictException
Microsoft.TeamFoundation.VersionControl.Server.PendingChangeChangedException
Microsoft.TeamFoundation.VersionControl.Server.PendingChangeContentNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.PluginHasMultipleInterfacesException
Microsoft.TeamFoundation.VersionControl.Server.RepositoryPathTooLongDetailedException
Microsoft.TeamFoundation.VersionControl.Server.RepositoryPathTooLongDueToDeletedItemsException
Microsoft.TeamFoundation.VersionControl.Server.RepositoryPathTooLongException
Microsoft.TeamFoundation.VersionControl.Server.ReservedAnnotationException
Microsoft.TeamFoundation.VersionControl.Server.RollbackInvalidOptionException
Microsoft.TeamFoundation.VersionControl.Server.RollbackInvalidVersionSpecException
Microsoft.TeamFoundation.VersionControl.Server.RootInheritanceException
Microsoft.TeamFoundation.VersionControl.Server.SecurityConfigurationException
Microsoft.TeamFoundation.VersionControl.Server.SecurityException
Microsoft.TeamFoundation.VersionControl.Server.ServerItemException
Microsoft.TeamFoundation.VersionControl.Server.ShelveMergeConflictExistsException
Microsoft.TeamFoundation.VersionControl.Server.ShelvesetExistsException
Microsoft.TeamFoundation.VersionControl.Server.ShelvesetNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.ShelvingPartialRenameConflictException
Microsoft.TeamFoundation.VersionControl.Server.TargetIsChildException
Microsoft.TeamFoundation.VersionControl.Server.TeamFoundationVersionControlNotEnabledForTeamProject
Microsoft.TeamFoundation.VersionControl.Server.TeamProjectCannotDeleteException
Microsoft.TeamFoundation.VersionControl.Server.TeamProjectNotEmptyException
Microsoft.TeamFoundation.VersionControl.Server.TeamProjectNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.UndeleteAboveUnrelatedItemException
Microsoft.TeamFoundation.VersionControl.Server.UndeleteNewNameNotSupportedException
Microsoft.TeamFoundation.VersionControl.Server.UnshelvingPartialRenameException
Microsoft.TeamFoundation.VersionControl.Server.WebMethodNotSupportedException
Microsoft.TeamFoundation.VersionControl.Server.WildcardNotAllowedException
Microsoft.TeamFoundation.VersionControl.Server.WorkingFolderInUseException
Microsoft.TeamFoundation.VersionControl.Server.WorkspaceException