Freigeben über


ServerException Class

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.TeamFoundation.TeamFoundationServerException
        Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
          Microsoft.TeamFoundation.VersionControl.Server.ServerException
            More...

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class ServerException _
    Inherits TeamFoundationServiceException
[SerializableAttribute]
public abstract class ServerException : TeamFoundationServiceException
[SerializableAttribute]
public ref class ServerException abstract : public TeamFoundationServiceException
[<AbstractClass>]
[<SerializableAttribute>]
type ServerException =  
    class
        inherit TeamFoundationServiceException
    end
public abstract class ServerException extends TeamFoundationServiceException

The ServerException type exposes the following members.

Constructors

  Name Description
Protected method ServerException()
Protected method ServerException(String)
Protected method ServerException(String, Exception)

Top

Properties

  Name Description
Public property Data Gets the data associated with this exception, if any. (Inherited from TeamFoundationServerException.)
Public property ErrorCode (Inherited from TeamFoundationServiceException.)
Public property EventId (Inherited from TeamFoundationServiceException.)
Public property FaultCode (Inherited from TeamFoundationServiceException.)
Public property HelpLink Gets or sets a link to the help file associated with this exception. (Inherited from Exception.)
Protected property HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.)
Public property InnerException Gets the Exception instance that caused the current exception. (Inherited from Exception.)
Public property IsRemoteException Gets a flag describing whether this exception was thrown by the server and received by the client. (Inherited from TeamFoundationServerException.)
Public property LogException (Inherited from TeamFoundationServiceException.)
Public property LogLevel (Inherited from TeamFoundationServiceException.)
Public property Message Gets a message that describes the current exception. (Inherited from Exception.)
Public property RemoteExceptionCode Gets the exception code if this is a remote exception and an exception code was provided by the server. (Inherited from TeamFoundationServerException.)
Public property ReportException (Inherited from TeamFoundationServiceException.)
Public property RequestContext (Inherited from TeamFoundationServiceException.)
Public property Source Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.)
Public property StackTrace Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.)
Public property TargetSite Gets the method that throws the current exception. (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodStatic member ExtractIdentityName
Protected methodStatic member ExtractLocalItem
Protected methodStatic member ExtractLocalOrServerItem
Protected methodStatic member ExtractServerItem
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodStatic member FormatUserName
Public method GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.)
Protected method GetExceptionProperties (Inherited from TeamFoundationServiceException.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjectData (Inherited from TeamFoundationServiceException.)
Public method GetType Gets the runtime type of the current instance. (Inherited from Exception.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetFailureInfo
Public method ToString Creates and returns a string representation of the current exception. (Inherited from Exception.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Server Namespace

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      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.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.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.CannotResolveAcceptMergeWithNonexistentVersionException
            Microsoft.TeamFoundation.VersionControl.Server.CannotResolveDeletedItemWithAcceptMergeException
            Microsoft.TeamFoundation.VersionControl.Server.CannotResolveToPartialUndeleteException
            Microsoft.TeamFoundation.VersionControl.Server.CannotSpecifyNewNameException
            Microsoft.TeamFoundation.VersionControl.Server.CannotUndeleteTeamProjectFolderException
            Microsoft.TeamFoundation.VersionControl.Server.CannotUndoItemExistingLockConflictsException
            Microsoft.TeamFoundation.VersionControl.Server.CannotUnlockException
            Microsoft.TeamFoundation.VersionControl.Server.ChangesetAuthorMustBeNonGroupException
            Microsoft.TeamFoundation.VersionControl.Server.ChangesetNotFoundException
            Microsoft.TeamFoundation.VersionControl.Server.CheckoutLockRequiredException
            Microsoft.TeamFoundation.VersionControl.Server.CouldNotAddProxyException
            Microsoft.TeamFoundation.VersionControl.Server.CouldNotDeleteProxyException
            Microsoft.TeamFoundation.VersionControl.Server.CreateBranchObjectException
            Microsoft.TeamFoundation.VersionControl.Server.DateVersionSpecBeforeBeginningOfRepositoryException
            Microsoft.TeamFoundation.VersionControl.Server.DeltaException
            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.FileIdNotFoundException
            Microsoft.TeamFoundation.VersionControl.Server.FutureDateException
            Microsoft.TeamFoundation.VersionControl.Server.GenericException
            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.InvalidCheckinTicketException
            Microsoft.TeamFoundation.VersionControl.Server.InvalidConflictIdException
            Microsoft.TeamFoundation.VersionControl.Server.InvalidExtensionException
            Microsoft.TeamFoundation.VersionControl.Server.InvalidFileIdException
            Microsoft.TeamFoundation.VersionControl.Server.InvalidProjectPendingChangeException
            Microsoft.TeamFoundation.VersionControl.Server.InvalidResolutionException
            Microsoft.TeamFoundation.VersionControl.Server.InvalidSqlDateException
            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.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.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.TeamProjectCannotDeleteException
            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