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


TeamFoundationServiceException Class

Thrown when an error occurs with any service of Visual Studio Team Foundation Server.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.VisualStudio.Services.Common.VssException
        Microsoft.TeamFoundation.TeamFoundationServerException
          Microsoft.TeamFoundation.Framework.Client.TeamFoundationServiceException
            More...

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

Syntax

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

The TeamFoundationServiceException type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationServiceException()
Public method TeamFoundationServiceException(String) Initializes a new instance of the TeamFoundationServiceException class by using the specified message.
Protected method TeamFoundationServiceException(SerializationInfo, StreamingContext)
Public method TeamFoundationServiceException(String, Exception) Initializes a new instance of the TeamFoundationServiceException class by using the specified message and inner 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 VssException.)
Public property EventId (Inherited from VssException.)
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 VssException.)
Public property LogLevel (Inherited from VssException.)
Public property Message Gets a message that describes the current exception. (Inherited from Exception.)
Public property ReportException (Inherited from VssException.)
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 the default hash function. (Inherited from Object.)
Public method GetObjectData Security Critical. 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

Events

  Name Description
Protected event SerializeObjectState Occurs when an exception is serialized to create an exception state object that contains serialized data about the 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.Framework.Client Namespace

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.VisualStudio.Services.Common.VssException
        Microsoft.TeamFoundation.TeamFoundationServerException
          Microsoft.TeamFoundation.Framework.Client.TeamFoundationServiceException
            Microsoft.TeamFoundation.Framework.Client.AcquireDatabasePartitionException
            Microsoft.TeamFoundation.Framework.Client.AnalysisServiceConnectionException
            Microsoft.TeamFoundation.Framework.Client.AttachCollectionException
            Microsoft.TeamFoundation.Framework.Client.AuthorizationSubsystemServiceException
            Microsoft.TeamFoundation.Framework.Client.BadChecksumException
            Microsoft.TeamFoundation.Framework.Client.CannotUpdateDefaultCollectionException
            Microsoft.TeamFoundation.Framework.Client.CleanupJobInProgressException
            Microsoft.TeamFoundation.Framework.Client.CollationException
            Microsoft.TeamFoundation.Framework.Client.CollectionDoesNotExistException
            Microsoft.TeamFoundation.Framework.Client.CollectionMisconfiguredException
            Microsoft.TeamFoundation.Framework.Client.CollectionPropertyException
            Microsoft.TeamFoundation.Framework.Client.CommonStructureSubsystemServiceException
            Microsoft.TeamFoundation.Framework.Client.DatabaseCategoryNotRegisteredException
            Microsoft.TeamFoundation.Framework.Client.DatabaseConfigurationException
            Microsoft.TeamFoundation.Framework.Client.DatabaseConnectionException
            Microsoft.TeamFoundation.Framework.Client.DatabaseFullException
            Microsoft.TeamFoundation.Framework.Client.DatabaseInstanceException
            Microsoft.TeamFoundation.Framework.Client.DatabaseNotFoundException
            Microsoft.TeamFoundation.Framework.Client.DatabaseOperationCanceledException
            Microsoft.TeamFoundation.Framework.Client.DatabaseOperationTimeoutException
            Microsoft.TeamFoundation.Framework.Client.DatabasePartitionCannotBeDeletedException
            Microsoft.TeamFoundation.Framework.Client.DatabasePartitionNotFoundException
            Microsoft.TeamFoundation.Framework.Client.DatabasePoolAlreadyExistsException
            Microsoft.TeamFoundation.Framework.Client.DatabasePoolCannotBeDeletedException
            Microsoft.TeamFoundation.Framework.Client.DatabasePoolFullException
            Microsoft.TeamFoundation.Framework.Client.DatabasePoolNotFoundException
            Microsoft.TeamFoundation.Framework.Client.DatabaseRuntimeException
            Microsoft.TeamFoundation.Framework.Client.DatabaseSchemaException
            Microsoft.TeamFoundation.Framework.Client.DataTierNotFoundException
            Microsoft.TeamFoundation.Framework.Client.DateTimeShiftDetectedException
            Microsoft.TeamFoundation.Framework.Client.DBExecutingDeadlockException
            Microsoft.TeamFoundation.Framework.Client.DBResultDeadlockException
            Microsoft.TeamFoundation.Framework.Client.DeltaException
            Microsoft.TeamFoundation.Framework.Client.DeltaTooLargeException
            Microsoft.TeamFoundation.Framework.Client.DownloadTicketValidationException
            Microsoft.TeamFoundation.Framework.Client.DuplicateFeatureException
            Microsoft.TeamFoundation.Framework.Client.DuplicateFileNameException
            Microsoft.TeamFoundation.Framework.Client.EnumerationNoneArgumentException
            Microsoft.TeamFoundation.Framework.Client.EventException
            Microsoft.TeamFoundation.Framework.Client.FailedToAcquireServicingLockException
            Microsoft.TeamFoundation.Framework.Client.FileAlreadyUploadedException
            Microsoft.TeamFoundation.Framework.Client.FileIdNotFoundException
            Microsoft.TeamFoundation.Framework.Client.GroupSecuritySubsystemServiceException
            Microsoft.TeamFoundation.Framework.Client.HostManagementException
            Microsoft.TeamFoundation.Framework.Client.IncompatibleCompressionFormatException
            Microsoft.TeamFoundation.Framework.Client.IncompleteUploadException
            Microsoft.TeamFoundation.Framework.Client.IncorrectSizeException
            Microsoft.TeamFoundation.Framework.Client.InvalidAccessException
            Microsoft.TeamFoundation.Framework.Client.InvalidFeatureNameException
            Microsoft.TeamFoundation.Framework.Client.InvalidLobParameterException
            Microsoft.TeamFoundation.Framework.Client.InvalidParentHostException
            Microsoft.TeamFoundation.Framework.Client.InvalidRegistryException
            Microsoft.TeamFoundation.Framework.Client.InvalidRequestContextHostException
            Microsoft.TeamFoundation.Framework.Client.JobAgentException
            Microsoft.TeamFoundation.Framework.Client.LockTimeoutException
            Microsoft.TeamFoundation.Framework.Client.MissingFeatureException
            Microsoft.TeamFoundation.Framework.Client.MultiplePartitionsNotSupportedException
            Microsoft.TeamFoundation.Framework.Client.ParseException
            Microsoft.TeamFoundation.Framework.Client.PropertyServiceException
            Microsoft.TeamFoundation.Framework.Client.ProxyException
            Microsoft.TeamFoundation.Framework.Client.QueryExpressionException
            Microsoft.TeamFoundation.Framework.Client.RedirectionException
            Microsoft.TeamFoundation.Framework.Client.RegistryPathException
            Microsoft.TeamFoundation.Framework.Client.RegistryPathPatternException
            Microsoft.TeamFoundation.Framework.Client.RequestCanceledException
            Microsoft.TeamFoundation.Framework.Client.RequestFilterException
            Microsoft.TeamFoundation.Framework.Client.ResourceStreamNotFoundException
            Microsoft.TeamFoundation.Framework.Client.ServiceLevelException
            Microsoft.TeamFoundation.Framework.Client.ServicingDisabledException
            Microsoft.TeamFoundation.Framework.Client.ServicingValidationException
            Microsoft.TeamFoundation.Framework.Client.SqlAzureException
            Microsoft.TeamFoundation.Framework.Client.StepPerformerNotFoundException
            Microsoft.TeamFoundation.Framework.Client.StreamingCollectionUnsupportedOperationException
            Microsoft.TeamFoundation.Framework.Client.StrongBoxException
            Microsoft.TeamFoundation.Framework.Client.SyncSubsystemServiceException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationAccessControlException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationCatalogServiceException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationDatabaseCopyException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationDatabaseSplitException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentityServiceException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationInvalidCertificateException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobServiceException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationLocationServiceException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationLockException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationMessageQueueException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationOAuthServiceException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationProcessStillRunningException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationProfileServiceException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationResourceManagementServiceException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationSecurityServiceException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationServicingException
            Microsoft.TeamFoundation.Framework.Client.TeamFoundationValidationException
            Microsoft.TeamFoundation.Framework.Client.TooManyItemsException
            Microsoft.TeamFoundation.Framework.Client.UnexpectedDatabaseResultException
            Microsoft.TeamFoundation.Framework.Client.UnexpectedHostTypeException
            Microsoft.TeamFoundation.Framework.Client.UnknownMigrationOwnerException
            Microsoft.TeamFoundation.Framework.Client.VirtualPathMappingException
            Microsoft.TeamFoundation.Framework.Client.VirtualPathsConflictException