Thrown when an error occurs with any service of Visual Studio Team Foundation Server.
Inheritance Hierarchy
System.Object
  System.Exception
    System.ApplicationException
      Microsoft.TeamFoundation.TeamFoundationServerException
        Microsoft.TeamFoundation.Framework.Client.TeamFoundationServiceException
          More...
Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
声明
<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 | |
|---|---|---|
| .gif) | TeamFoundationServiceException(String) | Initializes a new instance of the TeamFoundationServiceException class by using the specified message. | 
| .gif) | TeamFoundationServiceException(String, Exception) | Initializes a new instance of the TeamFoundationServiceException class by using the specified message and inner exception. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Data | Gets the data associated with this exception, if any. (Inherited from TeamFoundationServerException.) | 
| .gif) | HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) | 
| .gif) | HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) | 
| .gif) | InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | 
| .gif) | IsRemoteException | Gets a flag describing whether this exception was thrown by the server and received by the client. (Inherited from TeamFoundationServerException.) | 
| .gif) | Message | Gets a message that describes the current exception. (Inherited from Exception.) | 
| .gif) | RemoteExceptionCode | Gets the exception code if this is a remote exception and an exception code was provided by the server. (Inherited from TeamFoundationServerException.) | 
| .gif) | Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) | 
| .gif) | StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) | 
| .gif) | TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.) | 
| .gif) | GetType | Gets the runtime type of the current instance. (Inherited from Exception.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | 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.Framework.Client Namespace
Inheritance Hierarchy
System.Object
  System.Exception
    System.ApplicationException
      Microsoft.TeamFoundation.TeamFoundationServerException
        Microsoft.TeamFoundation.Framework.Client.TeamFoundationServiceException
          Microsoft.TeamFoundation.Framework.Client.AnalysisServiceConnectionException
          Microsoft.TeamFoundation.Framework.Client.AttachCollectionException
          Microsoft.TeamFoundation.Framework.Client.BadChecksumException
          Microsoft.TeamFoundation.Framework.Client.CannotUpdateDefaultCollectionException
          Microsoft.TeamFoundation.Framework.Client.CollectionDoesNotExistException
          Microsoft.TeamFoundation.Framework.Client.CollectionMisconfiguredException
          Microsoft.TeamFoundation.Framework.Client.CollectionPropertyException
          Microsoft.TeamFoundation.Framework.Client.CollectionServicingException
          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.DatabaseOperationCanceledException
          Microsoft.TeamFoundation.Framework.Client.DatabaseOperationTimeoutException
          Microsoft.TeamFoundation.Framework.Client.DatabaseRuntimeException
          Microsoft.TeamFoundation.Framework.Client.DatabaseSchemaException
          Microsoft.TeamFoundation.Framework.Client.DateTimeShiftDetectedException
          Microsoft.TeamFoundation.Framework.Client.DBResultDeadlockException
          Microsoft.TeamFoundation.Framework.Client.EventException
          Microsoft.TeamFoundation.Framework.Client.FileIdNotFoundException
          Microsoft.TeamFoundation.Framework.Client.HostManagementException
          Microsoft.TeamFoundation.Framework.Client.IncompatibleCompressionFormatException
          Microsoft.TeamFoundation.Framework.Client.IncompleteUploadException
          Microsoft.TeamFoundation.Framework.Client.IncorrectSizeException
          Microsoft.TeamFoundation.Framework.Client.InvalidRegistryException
          Microsoft.TeamFoundation.Framework.Client.InvalidRequestContextHostException
          Microsoft.TeamFoundation.Framework.Client.ParseException
          Microsoft.TeamFoundation.Framework.Client.PropertyServiceException
          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.ServicingDisabledException
          Microsoft.TeamFoundation.Framework.Client.StepPerformerNotFoundException
          Microsoft.TeamFoundation.Framework.Client.TeamFoundationCatalogServiceException
          Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentityServiceException
          Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobServiceException
          Microsoft.TeamFoundation.Framework.Client.TeamFoundationLocationServiceException
          Microsoft.TeamFoundation.Framework.Client.TeamFoundationLockException
          Microsoft.TeamFoundation.Framework.Client.TeamFoundationSecurityServiceException
          Microsoft.TeamFoundation.Framework.Client.TeamFoundationValidationException
          Microsoft.TeamFoundation.Framework.Client.TooManyItemsException
          Microsoft.TeamFoundation.Framework.Client.UnexpectedDatabaseResultException
          Microsoft.TeamFoundation.Framework.Client.VirtualPathMappingException
          Microsoft.TeamFoundation.Framework.Client.VirtualPathsConflictException