Freigeben über


ServerException-Klasse

Basisklasse für alle vom Server generierten Ausnahmen.

Vererbungshierarchie

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.VisualStudio.Services.Common.VssException
        Microsoft.TeamFoundation.TeamFoundationServerException
          Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
            Microsoft.TeamFoundation.VersionControl.Server.ServerException
              Weitere Informationen...

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

Der ServerException-Typ macht die folgenden Member verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode ServerException()
Geschützte Methode ServerException(String)
Geschützte Methode ServerException(String, Exception)

Zum Seitenanfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data Ruft die Daten ab, die dieser Ausnahme, wenn überhaupt zugeordnet werden. (Von TeamFoundationServerException geerbt.)
Öffentliche Eigenschaft ErrorCode (Von VssException geerbt.)
Öffentliche Eigenschaft EventId (Von VssException geerbt.)
Öffentliche Eigenschaft FaultCode Geben Sie den SOAP-Fehlercode für die Ausnahme. (Von TeamFoundationServiceException geerbt.)
Öffentliche Eigenschaft HelpLink Ruft einen Link zur Hilfedatei ab, die dieser Ausnahme zugeordnet ist, oder legt einen Link fest. (Von Exception geerbt.)
Geschützte Eigenschaft HResult Ruft HRESULT ab oder legt HRESULT fest. Dies ist ein codierter Wert, der einer bestimmten Ausnahme zugeordnet ist. (Von Exception geerbt.)
Öffentliche Eigenschaft InnerException Ruft die Exception-Instanz ab, die die aktuelle Ausnahme verursachte. (Von Exception geerbt.)
Öffentliche Eigenschaft IsRemoteException Ruft ein beschreibendes Flag ab, ob diese Ausnahme durch den Server ausgelöst wurde und vom Client empfangen. (Von TeamFoundationServerException geerbt.)
Öffentliche Eigenschaft LogException (Von VssException geerbt.)
Öffentliche Eigenschaft LogLevel (Von VssException geerbt.)
Öffentliche Eigenschaft Message Ruft eine Meldung ab, die die aktuelle Ausnahme beschreibt. (Von Exception geerbt.)
Öffentliche Eigenschaft ReportException (Von VssException geerbt.)
Öffentliche Eigenschaft RequestContext Der RequestContext zugeordnet mit dieser Ausnahme.Dies kann NULL sein. (Von TeamFoundationServiceException geerbt.)
Öffentliche Eigenschaft Source Gibt den Namen der Anwendung oder des Objekts zurück, das den Fehler verursacht hat, oder legt diesen fest. (Von Exception geerbt.)
Öffentliche Eigenschaft StackTrace Ruft eine Zeichenfolgendarstellung der unmittelbaren Frames in der Aufrufliste ab. (Von Exception geerbt.)
Öffentliche Eigenschaft TargetSite Ruft die Methode ab, die die aktuelle Ausnahme auslöst. (Von Exception geerbt.)

Zum Seitenanfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals Bestimmt, ob das angegebene Objekt mit dem aktuellen Objekt identisch ist. (Von Object geerbt.)
Geschützte MethodeStatischer Member ExtractIdentityName Analysiert eine SqlError-Meldung und extrahiert das Feld, das die Schlüssel identifiziert wird.Das Feld wird als Identität ID behandelt, und die ID wird in einen Anzeigenamen übersetzt.
Geschützte MethodeStatischer Member ExtractLocalItem Analysiert eine SqlError-Meldung und extrahiert das Feld, das die Schlüssel identifiziert wird.Das Feld wird als lokaler Pfad behandelt.
Geschützte MethodeStatischer Member ExtractLocalOrServerItem Analysiert eine SqlError-Meldung und extrahiert das Feld, das die Schlüssel identifiziert wird.Das Feld wird als lokaler Pfad oder Server-Pfad behandelt.
Geschützte MethodeStatischer Member ExtractServerItem Analysiert eine SqlError-Meldung und extrahiert das Feld, das die Schlüssel identifiziert wird.Das Feld wird als Server-Pfad behandelt.
Geschützte Methode Finalize Gibt einem Objekt Gelegenheit zu dem Versuch, Ressourcen freizugeben und andere Bereinigungen durchzuführen, bevor es von der Garbage Collection freigegeben wird. (Von Object geerbt.)
Öffentliche Methode GetBaseException Gibt beim Überschreiben in einer abgeleiteten Klasse eine Exception zurück, die die ursprüngliche Ursache für eine oder mehrere nachfolgende Ausnahmen ist. (Von Exception geerbt.)
Geschützte Methode GetExceptionProperties Ruft Eigenschaften der Ausnahme, die an den Client serialisiert werden soll.Die Eigenschaften werden hinzugefügt als untergeordnetes Element der SOAP-Detail Knoten benannten "Eigenschaften". Jede Eigenschaft wird so geschrieben, dass der Name des Knotens der Eigenschaftenname ist und ein Textuntergeordnetes element des Elements der Wert ist.Ein "Typ " Attribut wird dem Knoten Eigenschaften enthalten, die in der Deserialisierung zu helfen. (Von TeamFoundationServiceException geerbt.)
Öffentliche Methode GetHashCode Fungiert als die Standardhashfunktion. (Von Object geerbt.)
Öffentliche Methode GetObjectData Sicherheitsrelevant. Serialisieren Sie die zusätzlichen Eigenschaften, die in dieser Ausnahmeklasse gespeichert werden. (Von TeamFoundationServiceException geerbt.)
Öffentliche Methode GetType Ruft den Laufzeittyp der aktuellen Instanz ab. (Von Exception geerbt.)
Geschützte Methode MemberwiseClone Erstellt eine flache Kopie des aktuellen Object. (Von Object geerbt.)
Öffentliche Methode SetFailureInfo
Öffentliche Methode ToString Erstellt eine Zeichenfolgenentsprechung der aktuellen Ausnahme und gibt diese zurück. (Von Exception geerbt.)

Zum Seitenanfang

Ereignisse

  Name Beschreibung
Geschütztes Ereignis SerializeObjectState Tritt auf, wenn eine Ausnahme serialisiert wird, um ein Ausnahmezustandsobjekt zu erstellen, das serialisierte Daten für die Ausnahme enthält. (Von Exception geerbt.)

Zum Seitenanfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Microsoft.TeamFoundation.VersionControl.Server-Namespace

Vererbungshierarchie

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