Share via


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 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Protected 메서드 ServerException()
Protected 메서드 ServerException(String)
Protected 메서드 ServerException(String, Exception)

위쪽

속성

  이름 설명
Public 속성 Data 있는 경우이 예외와 관련 된 데이터를 가져옵니다. (TeamFoundationServerException에서 상속됨)
Public 속성 ErrorCode (VssException에서 상속됨)
Public 속성 EventId (VssException에서 상속됨)
Public 속성 FaultCode 예외는 SOAP 오류 코드를 나타냅니다. (TeamFoundationServiceException에서 상속됨)
Public 속성 HelpLink 이 예외와 관련된 도움말 파일에 대한 링크를 가져오거나 설정합니다. (Exception에서 상속됨)
Protected 속성 HResult 특정 예외에 할당된 코드화된 숫자 값인 HRESULT를 가져오거나 설정합니다. (Exception에서 상속됨)
Public 속성 InnerException 현재 예외를 발생시킨 Exception 인스턴스를 가져옵니다. (Exception에서 상속됨)
Public 속성 IsRemoteException 이 예외는 서버에서 throw 여부와 클라이언트를 설명 하는 플래그를 가져옵니다. (TeamFoundationServerException에서 상속됨)
Public 속성 LogException (VssException에서 상속됨)
Public 속성 LogLevel (VssException에서 상속됨)
Public 속성 Message 현재 예외를 설명하는 메시지를 가져옵니다. (Exception에서 상속됨)
Public 속성 ReportException (VssException에서 상속됨)
Public 속성 RequestContext 이 예외와 관련 된 RequestContext입니다.null일 수 있습니다. (TeamFoundationServiceException에서 상속됨)
Public 속성 Source 오류를 발생시키는 응용 프로그램 또는 개체의 이름을 가져오거나 설정합니다. (Exception에서 상속됨)
Public 속성 StackTrace 호출 스택의 직접 실행 프레임에 대한 문자열 표현을 가져옵니다. (Exception에서 상속됨)
Public 속성 TargetSite 현재 예외를 throw하는 메서드를 가져옵니다. (Exception에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (Object에서 상속됨)
Protected 메서드정적 멤버 ExtractIdentityName SqlError 메시지를 구문 분석 하 고 키로 식별 되는 필드를 추출 합니다.필드를 Identity ID로 간주 됩니다 및 ID 표시 이름으로 변환 됩니다.
Protected 메서드정적 멤버 ExtractLocalItem SqlError 메시지를 구문 분석 하 고 키로 식별 되는 필드를 추출 합니다.필드는 로컬 경로로 간주 됩니다.
Protected 메서드정적 멤버 ExtractLocalOrServerItem SqlError 메시지를 구문 분석 하 고 키로 식별 되는 필드를 추출 합니다.필드는 로컬 경로 또는 서버 경로로 처리 됩니다.
Protected 메서드정적 멤버 ExtractServerItem SqlError 메시지를 구문 분석 하 고 키로 식별 되는 필드를 추출 합니다.필드를 서버 경로로 간주 됩니다.
Protected 메서드 Finalize 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetBaseException 파생 클래스에서 재정의되었을 때, 하나 이상의 후속 예외의 근본 원인이 되는 Exception을 반환합니다. (Exception에서 상속됨)
Protected 메서드 GetExceptionProperties 예외를 클라이언트로 serialize 되어야 하는 속성을 검색 합니다.속성 "등록 정보" 라는 SOAP 본문 노드의 자식으로 추가 됩니다. 각 속성은 노드의 이름은 속성 이름이 고 자식 요소의 텍스트 값은 기록 됩니다."Type" 특성 속성 노드를 역직렬화 하는 데 도움이 포함 되어 있습니다. (TeamFoundationServiceException에서 상속됨)
Public 메서드 GetHashCode 기본 해시 함수로 작동합니다. (Object에서 상속됨)
Public 메서드 GetObjectData 보안 중요 이 예외 클래스에 저장 된 추가 속성을 serialize 합니다. (TeamFoundationServiceException에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 런타임 형식을 가져옵니다. (Exception에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 SetFailureInfo
Public 메서드 ToString 현재 예외에 대한 문자열 표현을 만들고 반환합니다. (Exception에서 상속됨)

위쪽

이벤트

  이름 설명
Protected 이벤트 SerializeObjectState 예외에 대한 serialize된 데이터가 들어 있는 예외 상태 개체가 만들어지도록 예외가 serialize될 때 발생합니다. (Exception에서 상속됨)

위쪽

스레드로부터의 안전성

이 형식의 모든 공용 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