TeamFoundationServiceException 类

则引发错误与Visual Studio Team Foundation Server所有服务。

继承层次结构

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.TeamFoundation.TeamFoundationServerException
        Microsoft.TeamFoundation.Framework.Client.TeamFoundationServiceException
          更多...

命名空间:  Microsoft.TeamFoundation.Framework.Client
程序集:  Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)

语法

声明
<SerializableAttribute> _
Public Class TeamFoundationServiceException _
    Inherits TeamFoundationServerException
[SerializableAttribute]
public class TeamFoundationServiceException : TeamFoundationServerException

TeamFoundationServiceException 类型公开以下成员。

构造函数

  名称 说明
公共方法 TeamFoundationServiceException()
公共方法 TeamFoundationServiceException(String) 使用指定的消息,TeamFoundationServiceException选件初始化类的新实例。
受保护的方法 TeamFoundationServiceException(SerializationInfo, StreamingContext)
公共方法 TeamFoundationServiceException(String, Exception) 使用指定的消息和内部异常初始化,TeamFoundationServiceException选件类的新实例。

页首

属性

  名称 说明
公共属性 Data 获取关联的数据具有此异常,因此,如果有的话)。 (继承自 TeamFoundationServerException。)
公共属性 HelpLink 获取或设置指向此异常所关联帮助文件的链接。 (继承自 Exception。)
公共属性 HResult 获取或设置 HRESULT(一个分配给特定异常的编码数字值)。 (继承自 Exception。)
公共属性 InnerException 获取导致当前异常的 Exception 实例。 (继承自 Exception。)
公共属性 IsRemoteException 获取描述的标志此异常是由服务器引发并由客户端接收。 (继承自 TeamFoundationServerException。)
公共属性 Message 获取描述当前异常的消息。 (继承自 Exception。)
公共属性 Source 获取或设置导致错误的应用程序或对象的名称。 (继承自 Exception。)
公共属性 StackTrace 获取调用堆栈上直接帧的字符串表示形式。 (继承自 Exception。)
公共属性 TargetSite 获取引发当前异常的方法。 (继承自 Exception。)

页首

方法

  名称 说明
公共方法静态成员 ConvertException(SoapException)
公共方法静态成员 ConvertException(SoapException, Boolean)
公共方法静态成员 ConvertException(String, String, Exception, Boolean)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetBaseException 当在派生类中重写时,返回 Exception,它是一个或多个并发的异常的根源。 (继承自 Exception。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetObjectData 安全关键。当在派生类中重写时,用关于异常的信息设置 SerializationInfo。 (继承自 Exception。)
公共方法 GetProperty<T> (继承自 TeamFoundationServerException。)
公共方法 GetType 获取当前实例的运行时类型。 (继承自 Exception。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 创建并返回当前异常的字符串表示形式。 (继承自 Exception。)

页首

事件

  名称 说明
受保护的事件 SerializeObjectState 在序列化异常,以创建包含有关异常的序列化数据的异常状态对象时发生。 (继承自 Exception。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.TeamFoundation.Framework.Client 命名空间

继承层次结构

System.Object
  System.Exception
    System.ApplicationException
      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