ServerItemException, classe
Classe de base pour toutes les exceptions qui prennent un élément du serveur unique comme argument. C'est 90% d'eux, BTW
Hiérarchie d'héritage
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.ServerItemException
En savoir plus...
Espace de noms : Microsoft.TeamFoundation.VersionControl.Server
Assembly : Microsoft.TeamFoundation.VersionControl.Server (dans Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public MustInherit Class ServerItemException _
Inherits ServerException
[SerializableAttribute]
public abstract class ServerItemException : ServerException
Le type ServerItemException expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
ServerItemException(String) | |
![]() |
ServerItemException(String, String) | |
![]() |
ServerItemException(String, String, String) |
Début
Propriétés
Nom | Description | |
---|---|---|
![]() |
Data | Obtient les données associées à cette exception éventuelle. (Hérité de TeamFoundationServerException.) |
![]() |
ErrorCode | (Hérité de VssException.) |
![]() |
EventId | (Hérité de VssException.) |
![]() |
FaultCode | Afficher un code d'erreur SOAP pour l'exception. (Hérité de TeamFoundationServiceException.) |
![]() |
HelpLink | Obtient ou définit un lien vers le fichier d'aide associé à cette exception. (Hérité de Exception.) |
![]() |
HResult | Obtient ou définit HRESULT, valeur numérique codée qui est assignée à une exception spécifique. (Hérité de Exception.) |
![]() |
InnerException | Obtient l'instance Exception qui a provoqué l'exception actuelle. (Hérité de Exception.) |
![]() |
IsRemoteException | Obtient un indicateur décrivant si cette exception a été levée par le serveur et reçue par le client. (Hérité de TeamFoundationServerException.) |
![]() |
LogException | (Hérité de VssException.) |
![]() |
LogLevel | (Hérité de VssException.) |
![]() |
Message | Obtient un message qui décrit l'exception actuelle. (Hérité de Exception.) |
![]() |
ReportException | (Hérité de VssException.) |
![]() |
RequestContext | Le RequestContext associé à cette exception.Il peut s'agir d'une valeur null. (Hérité de TeamFoundationServiceException.) |
![]() |
ServerItem | |
![]() |
Source | Obtient ou définit le nom de l'application ou de l'objet qui est à l'origine de l'erreur. (Hérité de Exception.) |
![]() |
StackTrace | Obtient une représentation sous forme de chaîne des frames immédiates sur la pile des appels. (Hérité de Exception.) |
![]() |
TargetSite | Obtient la méthode qui lève l'exception actuelle. (Hérité de Exception.) |
Début
Méthodes
Nom | Description | |
---|---|---|
![]() |
Equals | Détermine si l'objet spécifié est identique à l'objet actuel. (Hérité de Object.) |
![]() |
Finalize | Autorise un objet à tenter de libérer des ressources et d'exécuter d'autres opérations de nettoyage avant qu'il ne soit récupéré par l'opération garbage collection. (Hérité de Object.) |
![]() |
GetBaseException | En cas de substitution dans une classe dérivée, retourne Exception qui est à l'origine d'une ou de plusieurs exceptions suivantes. (Hérité de Exception.) |
![]() |
GetExceptionProperties | Récupère les propriétés de l'exception qui doit être sérialisée au client.Les propriétés seront ajoutées en tant qu'enfant propriétés nommées par nœud spécifique SOAP des « . » Chaque propriété est écrite afin que le nom du nœud correspond au nom de propriété et un enfant de l'élément soit la valeur.Un attribut « type » est inclus avec le nœud de propriété pour aider dans la désérialisation. (Hérité de TeamFoundationServiceException.) |
![]() |
GetHashCode | Sert de fonction de hachage par défaut. (Hérité de Object.) |
![]() |
GetObjectData | Essentiel pour la sécurité. Sérialisez des propriétés supplémentaires qui sont enregistrées dans cette classe d'exception. (Hérité de TeamFoundationServiceException.) |
![]() |
GetType | Obtient le type au moment de l'exécution de l'instance actuelle. (Hérité de Exception.) |
![]() |
MemberwiseClone | Crée une copie superficielle de l'objet Object actuel. (Hérité de Object.) |
![]() |
SetFailureInfo | (Substitue ServerException.SetFailureInfo(Failure).) |
![]() |
ToString | Crée et retourne une chaîne représentant l'exception en cours. (Hérité de Exception.) |
Début
Événements
Nom | Description | |
---|---|---|
![]() |
SerializeObjectState | Se produit lorsqu'une exception est sérialisée pour créer un objet d'état d'exception qui contient des données sérialisées relatives à l'exception. (Hérité de Exception.) |
Début
Sécurité des threads
Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.
Voir aussi
Référence
Microsoft.TeamFoundation.VersionControl.Server, espace de noms
Hiérarchie d'héritage
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.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