다음을 통해 공유


ServerItemException 클래스

단일 서버 항목을 인수로 사용 하는 모든 예외의 기본 클래스입니다. 이 BTW, 그 중 90%입니다.

상속 계층 구조

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.TeamFoundation.TeamFoundationServerException
        Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
          Microsoft.TeamFoundation.VersionControl.Server.ServerException
            Microsoft.TeamFoundation.VersionControl.Server.ServerItemException
              자세히...

네임스페이스:  Microsoft.TeamFoundation.VersionControl.Server
어셈블리:  Microsoft.TeamFoundation.VersionControl.Server(Microsoft.TeamFoundation.VersionControl.Server.dll)

구문

‘선언
<SerializableAttribute> _
Public MustInherit Class ServerItemException _
    Inherits ServerException
[SerializableAttribute]
public abstract class ServerItemException : ServerException

ServerItemException 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

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

위쪽

속성

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

위쪽

메서드

  이름 설명
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (Object에서 상속됨)
Protected 메서드 Finalize 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetBaseException 파생 클래스에서 재정의되었을 때, 하나 이상의 후속 예외의 근본 원인이 되는 Exception을 반환합니다. (Exception에서 상속됨)
Protected 메서드 GetExceptionProperties 클라이언트로 serialize 되어야 예외의 속성을 검색 합니다.속성에 명명 된 "속성" SOAP 본문 노드의 자식으로 추가 됩니다. 각 속성 노드의 이름은 속성 이름이 고 값은 텍스트 요소의 하위 요소입니다 하도록 작성 됩니다."Type" 특성에서 역직렬화 하는 데 도움이 되는 속성 노드가 포함 됩니다. (TeamFoundationServiceException에서 상속됨)
Public 메서드 GetHashCode 특정 형식에 대한 해시 함수 역할을 합니다. (Object에서 상속됨)
Public 메서드 GetObjectData 보안 중요 이 예외 클래스에 저장 된 추가 속성을 serialize 합니다. (TeamFoundationServiceException에서 상속됨)
Public 메서드 GetProperty<T> (TeamFoundationServerException에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 런타임 형식을 가져옵니다. (Exception에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 SetFailureInfo (ServerException.SetFailureInfo(Failure)을(를) 재정의함)
Public 메서드 ToString 현재 예외에 대한 문자열 표현을 만들고 반환합니다. (Exception에서 상속됨)

위쪽

이벤트

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

위쪽

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.TeamFoundation.VersionControl.Server 네임스페이스

상속 계층 구조

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.TeamFoundation.TeamFoundationServerException
        Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
          Microsoft.TeamFoundation.VersionControl.Server.ServerException
            Microsoft.TeamFoundation.VersionControl.Server.ServerItemException
              Microsoft.TeamFoundation.VersionControl.Server.BranchSourceNotCommittedException
              Microsoft.TeamFoundation.VersionControl.Server.CannotBranchDestroyedContentException
              Microsoft.TeamFoundation.VersionControl.Server.CannotCheckinDependantRenameException
              Microsoft.TeamFoundation.VersionControl.Server.CannotCheckinPartialUndeleteException
              Microsoft.TeamFoundation.VersionControl.Server.CannotCheckinRenameAsPendingAddConflictsException
              Microsoft.TeamFoundation.VersionControl.Server.CannotCheckinRenameDueToChildConflictException
              Microsoft.TeamFoundation.VersionControl.Server.CannotCreateParentFolderException
              Microsoft.TeamFoundation.VersionControl.Server.CannotDeleteTeamProjectFolderException
              Microsoft.TeamFoundation.VersionControl.Server.CannotDestroyRootException
              Microsoft.TeamFoundation.VersionControl.Server.CannotLockException
              Microsoft.TeamFoundation.VersionControl.Server.CannotMergeDestroyedFileException
              Microsoft.TeamFoundation.VersionControl.Server.CannotMergeWithExistingConflictException
              Microsoft.TeamFoundation.VersionControl.Server.CannotPendChangeOnDestroyedFileException
              Microsoft.TeamFoundation.VersionControl.Server.CannotPendEditOnDeletedFileWithGetLatestException
              Microsoft.TeamFoundation.VersionControl.Server.CannotPendEditOnRenamedFileWithGetLatestException
              Microsoft.TeamFoundation.VersionControl.Server.CannotSetMappingOnRenameException
              Microsoft.TeamFoundation.VersionControl.Server.CannotShelvePartialUndeleteException
              Microsoft.TeamFoundation.VersionControl.Server.ChangeAlreadyPendingException
              Microsoft.TeamFoundation.VersionControl.Server.ContentRequiredException
              Microsoft.TeamFoundation.VersionControl.Server.DuplicateItemsInCheckInRequestException
              Microsoft.TeamFoundation.VersionControl.Server.DuplicateServerItemException
              Microsoft.TeamFoundation.VersionControl.Server.EmptyCheckInException
              Microsoft.TeamFoundation.VersionControl.Server.ExistingParentFileException
              Microsoft.TeamFoundation.VersionControl.Server.FolderContentException
              Microsoft.TeamFoundation.VersionControl.Server.FolderEditException
              Microsoft.TeamFoundation.VersionControl.Server.IllegalServerItemException
              Microsoft.TeamFoundation.VersionControl.Server.IncompatibleChangeException
              Microsoft.TeamFoundation.VersionControl.Server.InvalidProjectPendingChangeException
              Microsoft.TeamFoundation.VersionControl.Server.ItemDeletedException
              Microsoft.TeamFoundation.VersionControl.Server.ItemExistsException
              Microsoft.TeamFoundation.VersionControl.Server.ItemLockedException
              Microsoft.TeamFoundation.VersionControl.Server.ItemNotCheckedOutException
              Microsoft.TeamFoundation.VersionControl.Server.ItemNotFoundException
              Microsoft.TeamFoundation.VersionControl.Server.LabelDuplicateItemException
              Microsoft.TeamFoundation.VersionControl.Server.LabelPendingAddException
              Microsoft.TeamFoundation.VersionControl.Server.LatestVersionDeletedException
              Microsoft.TeamFoundation.VersionControl.Server.LocalItemOutOfDateException
              Microsoft.TeamFoundation.VersionControl.Server.LocalItemRequiredException
              Microsoft.TeamFoundation.VersionControl.Server.LocalVersionNotFoundException
              Microsoft.TeamFoundation.VersionControl.Server.MappingException
              Microsoft.TeamFoundation.VersionControl.Server.MergeConflictExistsException
              Microsoft.TeamFoundation.VersionControl.Server.MergeDoNotHaveTargetLocallyException
              Microsoft.TeamFoundation.VersionControl.Server.MergeTargetCloakedException
              Microsoft.TeamFoundation.VersionControl.Server.MergeTargetNotMappedException
              Microsoft.TeamFoundation.VersionControl.Server.MissingParentIsRenameOrUndeleteException
              Microsoft.TeamFoundation.VersionControl.Server.NoLockExistsException
              Microsoft.TeamFoundation.VersionControl.Server.NotAllowedOnFolderException
              Microsoft.TeamFoundation.VersionControl.Server.PendingChangeMergeConflictExistsException
              Microsoft.TeamFoundation.VersionControl.Server.PendingChildException
              Microsoft.TeamFoundation.VersionControl.Server.PendingDeleteConflictChangeException
              Microsoft.TeamFoundation.VersionControl.Server.PendingLocalVersionMismatchException
              Microsoft.TeamFoundation.VersionControl.Server.PendingParentDeleteException
              Microsoft.TeamFoundation.VersionControl.Server.RenameWorkingFolderException
              Microsoft.TeamFoundation.VersionControl.Server.ServerItemRequiredException
              Microsoft.TeamFoundation.VersionControl.Server.ShelvedChangeNotFoundException
              Microsoft.TeamFoundation.VersionControl.Server.TargetCloakedException
              Microsoft.TeamFoundation.VersionControl.Server.TargetHasPendingChangeException
              Microsoft.TeamFoundation.VersionControl.Server.TrackMergesExceededMaxBranchesLimitException
              Microsoft.TeamFoundation.VersionControl.Server.VersionConflictException
              Microsoft.TeamFoundation.VersionControl.Server.WorkingFolderCreationException
              Microsoft.TeamFoundation.VersionControl.Server.WorkingFolderException
              Microsoft.TeamFoundation.VersionControl.Server.WorkspaceRequiresComputerNameException