Поделиться через


VersionControlException Class

This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.TeamFoundation.TeamFoundationServerException
        Microsoft.TeamFoundation.VersionControl.Client.VersionControlException
          More...

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class VersionControlException _
    Inherits TeamFoundationServerException
[SerializableAttribute]
public class VersionControlException : TeamFoundationServerException
[SerializableAttribute]
public ref class VersionControlException : public TeamFoundationServerException
[<SerializableAttribute>]
type VersionControlException =  
    class
        inherit TeamFoundationServerException
    end
public class VersionControlException extends TeamFoundationServerException

The VersionControlException type exposes the following members.

Constructors

  Name Description
Public method VersionControlException() Initializes a new VersionControlException instance.
Public method VersionControlException(String) Initializes a new VersionControlException instance.
Protected method VersionControlException(SerializationInfo, StreamingContext)
Public method VersionControlException(String, Exception) Initializes a new VersionControlException instance.

Top

Properties

  Name Description
Public property Data Gets the data associated with this exception, if any. (Inherited from TeamFoundationServerException.)
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 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 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 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.)
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.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjectData When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.)
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 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.Client Namespace

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.TeamFoundation.TeamFoundationServerException
        Microsoft.TeamFoundation.VersionControl.Client.VersionControlException
          Microsoft.TeamFoundation.VersionControl.Client.AcceptMergeNamespaceConflictRequiresDestinationException
          Microsoft.TeamFoundation.VersionControl.Client.AcceptMergeVersionConflictRequiresDestinationException
          Microsoft.TeamFoundation.VersionControl.Client.AcceptYoursRenameTheirsRequiresDestinationException
          Microsoft.TeamFoundation.VersionControl.Client.ArtifactIdentifierRequiredException
          Microsoft.TeamFoundation.VersionControl.Client.ArtifactNotFoundException
          Microsoft.TeamFoundation.VersionControl.Client.AutoMergeDisallowedException
          Microsoft.TeamFoundation.VersionControl.Client.BadChecksumException
          Microsoft.TeamFoundation.VersionControl.Client.CannotChangeRootFolderException
          Microsoft.TeamFoundation.VersionControl.Client.CannotChangeWorkspaceOwnerException
          Microsoft.TeamFoundation.VersionControl.Client.CannotCheckinAllWithEditException
          Microsoft.TeamFoundation.VersionControl.Client.CannotCreateFilesInRootException
          Microsoft.TeamFoundation.VersionControl.Client.CannotFindLatestChangesetException
          Microsoft.TeamFoundation.VersionControl.Client.CannotMergeUnderSourceException
          Microsoft.TeamFoundation.VersionControl.Client.CannotMergeWithWorkspaceSpecAndPendingDeleteException
          Microsoft.TeamFoundation.VersionControl.Client.CannotMoveToRootException
          Microsoft.TeamFoundation.VersionControl.Client.CannotRenameBackToOriginalSourceException
          Microsoft.TeamFoundation.VersionControl.Client.CannotResolveAcceptMergeWithNonexistentVersionException
          Microsoft.TeamFoundation.VersionControl.Client.CannotResolveDeletedItemWithAcceptMergeException
          Microsoft.TeamFoundation.VersionControl.Client.CannotResolveToPartialUndeleteException
          Microsoft.TeamFoundation.VersionControl.Client.CannotSpecifyNewNameException
          Microsoft.TeamFoundation.VersionControl.Client.CannotUndeleteTeamProjectFolderException
          Microsoft.TeamFoundation.VersionControl.Client.CannotUndoItemExistingLockConflictsException
          Microsoft.TeamFoundation.VersionControl.Client.CannotUnlockException
          Microsoft.TeamFoundation.VersionControl.Client.ChangesetAuthorMustBeNonGroupException
          Microsoft.TeamFoundation.VersionControl.Client.ChangesetNotFoundException
          Microsoft.TeamFoundation.VersionControl.Client.CheckinException
          Microsoft.TeamFoundation.VersionControl.Client.CheckoutLockRequiredException
          Microsoft.TeamFoundation.VersionControl.Client.CouldNotAddProxyException
          Microsoft.TeamFoundation.VersionControl.Client.CouldNotDeleteProxyException
          Microsoft.TeamFoundation.VersionControl.Client.CreateBranchObjectException
          Microsoft.TeamFoundation.VersionControl.Client.DateVersionSpecBeforeBeginningOfRepositoryException
          Microsoft.TeamFoundation.VersionControl.Client.DeltaException
          Microsoft.TeamFoundation.VersionControl.Client.DepthOneMappingsNotSupportedException
          Microsoft.TeamFoundation.VersionControl.Client.DestroyedContentUnavailableException
          Microsoft.TeamFoundation.VersionControl.Client.DuplicateChangeException
          Microsoft.TeamFoundation.VersionControl.Client.DuplicateCheckinNoteFieldException
          Microsoft.TeamFoundation.VersionControl.Client.DuplicateExtensionException
          Microsoft.TeamFoundation.VersionControl.Client.DuplicateFileTypeException
          Microsoft.TeamFoundation.VersionControl.Client.DuplicateItemFoundException
          Microsoft.TeamFoundation.VersionControl.Client.DuplicateWorkingFolderException
          Microsoft.TeamFoundation.VersionControl.Client.FeatureNotSupportedException
          Microsoft.TeamFoundation.VersionControl.Client.FileIdNotFoundException
          Microsoft.TeamFoundation.VersionControl.Client.FutureDateException
          Microsoft.TeamFoundation.VersionControl.Client.GenericException
          Microsoft.TeamFoundation.VersionControl.Client.IdentityDeletedException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalCommentException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalComputerNameException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalFieldNameException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalIdentityException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalLabelNameException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalPolicyNameException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalShelvesetException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalShelvesetOwnerException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalUrlException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalVersionException
          Microsoft.TeamFoundation.VersionControl.Client.IllegalWorkspaceException
          Microsoft.TeamFoundation.VersionControl.Client.IncompatibleCompressionFormatException
          Microsoft.TeamFoundation.VersionControl.Client.IncompletePendingChangeException
          Microsoft.TeamFoundation.VersionControl.Client.IncompleteUploadException
          Microsoft.TeamFoundation.VersionControl.Client.InconsistentRequestTypesException
          Microsoft.TeamFoundation.VersionControl.Client.IncorrectSizeException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidAcceptYoursException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidAcceptYoursRenameTheirsException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidBranchCheckinOptionException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidCheckinTicketException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidConflictIdException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidExtensionException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidFileIdException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidFileTypeException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidProjectPendingChangeException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidResolutionException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidSqlDateException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidVersionSpecException
          Microsoft.TeamFoundation.VersionControl.Client.InvalidVersionSpecForOperationException
          Microsoft.TeamFoundation.VersionControl.Client.ItemRequiredException
          Microsoft.TeamFoundation.VersionControl.Client.LabelExistsException
          Microsoft.TeamFoundation.VersionControl.Client.LabelHasChildrenException
          Microsoft.TeamFoundation.VersionControl.Client.LabelNotFoundException
          Microsoft.TeamFoundation.VersionControl.Client.LabelNotUniqueException
          Microsoft.TeamFoundation.VersionControl.Client.LabelOwnerChangeException
          Microsoft.TeamFoundation.VersionControl.Client.LocalPathTooLongException
          Microsoft.TeamFoundation.VersionControl.Client.MappingConflictException
          Microsoft.TeamFoundation.VersionControl.Client.MaxRowsEvaluatedException
          Microsoft.TeamFoundation.VersionControl.Client.MergeEditDeleteException
          Microsoft.TeamFoundation.VersionControl.Client.MergeTargetFileSourceDirectoryException
          Microsoft.TeamFoundation.VersionControl.Client.MergeTargetPathAlreadyHasPendingMergeException
          Microsoft.TeamFoundation.VersionControl.Client.MergeTargetPathHasIncompatiblePendingChangeException
          Microsoft.TeamFoundation.VersionControl.Client.MergeTargetPathHasNamespacePendingChangeConflictException
          Microsoft.TeamFoundation.VersionControl.Client.MustUndeleteParentException
          Microsoft.TeamFoundation.VersionControl.Client.NoChangesToShelveException
          Microsoft.TeamFoundation.VersionControl.Client.NoMergeRelationshipException
          Microsoft.TeamFoundation.VersionControl.Client.OnlyOneWorkspaceException
          Microsoft.TeamFoundation.VersionControl.Client.OwnerRequiredException
          Microsoft.TeamFoundation.VersionControl.Client.PartialRenameConflictException
          Microsoft.TeamFoundation.VersionControl.Client.PendingChangeChangedException
          Microsoft.TeamFoundation.VersionControl.Client.PendingChangeContentNotFoundException
          Microsoft.TeamFoundation.VersionControl.Client.PluginHasMultipleInterfacesException
          Microsoft.TeamFoundation.VersionControl.Client.RepositoryNotFoundException
          Microsoft.TeamFoundation.VersionControl.Client.RepositoryPathTooLongException
          Microsoft.TeamFoundation.VersionControl.Client.ReservedAnnotationException
          Microsoft.TeamFoundation.VersionControl.Client.RollbackInvalidOptionException
          Microsoft.TeamFoundation.VersionControl.Client.RollbackInvalidVersionSpecException
          Microsoft.TeamFoundation.VersionControl.Client.RootInheritanceException
          Microsoft.TeamFoundation.VersionControl.Client.SecurityConfigurationException
          Microsoft.TeamFoundation.VersionControl.Client.SecurityException
          Microsoft.TeamFoundation.VersionControl.Client.ServerItemException
          Microsoft.TeamFoundation.VersionControl.Client.ShelveException
          Microsoft.TeamFoundation.VersionControl.Client.ShelveMergeConflictExistsException
          Microsoft.TeamFoundation.VersionControl.Client.ShelvesetExistsException
          Microsoft.TeamFoundation.VersionControl.Client.ShelvesetNotFoundException
          Microsoft.TeamFoundation.VersionControl.Client.ShelvingPartialRenameConflictException
          Microsoft.TeamFoundation.VersionControl.Client.TargetIsChildException
          Microsoft.TeamFoundation.VersionControl.Client.TeamProjectCannotDeleteException
          Microsoft.TeamFoundation.VersionControl.Client.TeamProjectNotFoundException
          Microsoft.TeamFoundation.VersionControl.Client.UndeleteAboveUnrelatedItemException
          Microsoft.TeamFoundation.VersionControl.Client.UndeleteNewNameNotSupportedException
          Microsoft.TeamFoundation.VersionControl.Client.UnshelveException
          Microsoft.TeamFoundation.VersionControl.Client.UnshelvingPartialRenameException
          Microsoft.TeamFoundation.VersionControl.Client.WebMethodNotSupportedException
          Microsoft.TeamFoundation.VersionControl.Client.WildcardNotAllowedException
          Microsoft.TeamFoundation.VersionControl.Client.WorkingFolderInUseException
          Microsoft.TeamFoundation.VersionControl.Client.WorkItemUpdateException
          Microsoft.TeamFoundation.VersionControl.Client.WorkspaceException