TeamFoundationServiceException 类
从 Team Foundation 的代码的所有自定义异常的基类引发的。
继承层次结构
System.Object
System.Exception
System.ApplicationException
Microsoft.VisualStudio.Services.Common.VssException
Microsoft.TeamFoundation.TeamFoundationServerException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
更多...
命名空间: Microsoft.TeamFoundation.Framework.Server
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
<SerializableAttribute> _
Public Class TeamFoundationServiceException _
Inherits TeamFoundationServerException _
Implements ISerializable
[SerializableAttribute]
public class TeamFoundationServiceException : TeamFoundationServerException,
ISerializable
TeamFoundationServiceException 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
TeamFoundationServiceException() | NO- arg 交由基类的构造函数。 | |
TeamFoundationServiceException(Int32) | 初始化使用指定的错误消息的异常。 | |
TeamFoundationServiceException(String) | 初始化使用指定的错误消息的异常。 | |
TeamFoundationServiceException(Int32, Boolean) | 初始化使用指定的错误消息的异常。 | |
TeamFoundationServiceException(SerializationInfo, StreamingContext) | 初始化从序列化数据的异常。 | |
TeamFoundationServiceException(String, Exception) | 初始化引发此异常引发与指定的错误消息的异常和内部异常。 | |
TeamFoundationServiceException(String, Int32) | 初始化引发此异常引发与指定的错误消息的异常和内部异常。 | |
TeamFoundationServiceException(String, Int32, Boolean) | 初始化引发此异常引发与指定的错误消息的异常和内部异常。 | |
TeamFoundationServiceException(String, Int32, Exception) | 初始化引发此异常引发与指定的错误消息的异常和内部异常。 | |
TeamFoundationServiceException(String, Int32, Boolean, Exception) | 初始化引发此异常引发与指定的错误消息的异常和内部异常。 |
页首
属性
名称 | 说明 | |
---|---|---|
Data | 获取关联的数据具有此异常,因此,如果有的话)。 (继承自 TeamFoundationServerException。) | |
ErrorCode | (继承自 VssException。) | |
EventId | (继承自 VssException。) | |
FaultCode | 指示异常的 SOAP 错误代码。 | |
HelpLink | 获取或设置指向此异常所关联帮助文件的链接。 (继承自 Exception。) | |
HResult | 获取或设置 HRESULT(一个分配给特定异常的编码数字值)。 (继承自 Exception。) | |
InnerException | 获取导致当前异常的 Exception 实例。 (继承自 Exception。) | |
IsRemoteException | 获取描述的标志此异常是由服务器引发并由客户端接收。 (继承自 TeamFoundationServerException。) | |
LogException | (继承自 VssException。) | |
LogLevel | (继承自 VssException。) | |
Message | 获取描述当前异常的消息。 (继承自 Exception。) | |
ReportException | (继承自 VssException。) | |
RequestContext | RequestContext 关联具有此异常。这可能为 null。 | |
Source | 获取或设置导致错误的应用程序或对象的名称。 (继承自 Exception。) | |
StackTrace | 获取调用堆栈上直接帧的字符串表示形式。 (继承自 Exception。) | |
TargetSite | 获取引发当前异常的方法。 (继承自 Exception。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) | |
ExtractEnumName | ||
ExtractInt | 分析 SqlError 消息并提取键标识的字段。 | |
ExtractInts | 分析 SqlError 消息并提取键标识的字段。 | |
ExtractString | 分析 SqlError 消息并提取键标识的字段。 | |
ExtractStrings | 分析 SqlError 消息并提取键标识的字段。 | |
Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | |
GetBaseException | 当在派生类中重写时,返回 Exception,它是一个或多个并发的异常的根源。 (继承自 Exception。) | |
GetExceptionProperties | 检索序列化到客户端异常的属性。属性将添加为 SOAP 详细信息节点名为“属性的子级”。每个属性编写的,以便节点的名称是属性名称,并且该元素的文本子项是值。“type”属性在反序列化包含在属性节点帮助。 | |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) | |
GetObjectData | 安全关键。序列化此异常选件类存储的其他属性。 (重写 Exception.GetObjectData(SerializationInfo, StreamingContext)。) | |
GetType | 获取当前实例的运行时类型。 (继承自 Exception。) | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | |
ToString | 创建并返回当前异常的字符串表示形式。 (继承自 Exception。) |
页首
事件
名称 | 说明 | |
---|---|---|
SerializeObjectState | 在序列化异常,以创建包含有关异常的序列化数据的异常状态对象时发生。 (继承自 Exception。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.TeamFoundation.Framework.Server 命名空间
继承层次结构
System.Object
System.Exception
System.ApplicationException
Microsoft.VisualStudio.Services.Common.VssException
Microsoft.TeamFoundation.TeamFoundationServerException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
Microsoft.TeamFoundation.Build.Server.BuildServerException
Microsoft.TeamFoundation.Framework.Server.AcquireDatabasePartitionException
Microsoft.TeamFoundation.Framework.Server.AnalysisServiceConnectionException
Microsoft.TeamFoundation.Framework.Server.AttachCollectionException
Microsoft.TeamFoundation.Framework.Server.BadChecksumException
Microsoft.TeamFoundation.Framework.Server.BlobProviderConfigurationException
Microsoft.TeamFoundation.Framework.Server.CannotUpdateDefaultCollectionException
Microsoft.TeamFoundation.Framework.Server.CleanupJobInProgressException
Microsoft.TeamFoundation.Framework.Server.CollationException
Microsoft.TeamFoundation.Framework.Server.CollectionDoesNotExistException
Microsoft.TeamFoundation.Framework.Server.CollectionMisconfiguredException
Microsoft.TeamFoundation.Framework.Server.CollectionPropertyException
Microsoft.TeamFoundation.Framework.Server.CounterNotPopulatedException
Microsoft.TeamFoundation.Framework.Server.DatabaseAlreadyRegisteredException
Microsoft.TeamFoundation.Framework.Server.DatabaseCategoryNotRegisteredException
Microsoft.TeamFoundation.Framework.Server.DatabaseConfigurationException
Microsoft.TeamFoundation.Framework.Server.DatabaseConnectionException
Microsoft.TeamFoundation.Framework.Server.DatabaseFullException
Microsoft.TeamFoundation.Framework.Server.DatabaseInstanceException
Microsoft.TeamFoundation.Framework.Server.DatabaseNotFoundException
Microsoft.TeamFoundation.Framework.Server.DatabaseOperationCanceledException
Microsoft.TeamFoundation.Framework.Server.DatabaseOperationTimeoutException
Microsoft.TeamFoundation.Framework.Server.DatabasePartitionCannotBeDeletedException
Microsoft.TeamFoundation.Framework.Server.DatabasePartitionNotFoundException
Microsoft.TeamFoundation.Framework.Server.DatabasePoolAlreadyExistsException
Microsoft.TeamFoundation.Framework.Server.DatabasePoolCannotBeDeletedException
Microsoft.TeamFoundation.Framework.Server.DatabasePoolFullException
Microsoft.TeamFoundation.Framework.Server.DatabasePoolNotFoundException
Microsoft.TeamFoundation.Framework.Server.DatabaseRuntimeException
Microsoft.TeamFoundation.Framework.Server.DatabaseSchemaException
Microsoft.TeamFoundation.Framework.Server.DataTierNotFoundException
Microsoft.TeamFoundation.Framework.Server.DateTimeShiftDetectedException
Microsoft.TeamFoundation.Framework.Server.DBExecutingDeadlockException
Microsoft.TeamFoundation.Framework.Server.DBResultDeadlockException
Microsoft.TeamFoundation.Framework.Server.DeltaException
Microsoft.TeamFoundation.Framework.Server.DeltaTooLargeException
Microsoft.TeamFoundation.Framework.Server.DetachCollectionException
Microsoft.TeamFoundation.Framework.Server.DuplicateFeatureException
Microsoft.TeamFoundation.Framework.Server.DuplicateFileNameException
Microsoft.TeamFoundation.Framework.Server.EnumerationNoneArgumentException
Microsoft.TeamFoundation.Framework.Server.EventException
Microsoft.TeamFoundation.Framework.Server.ExtensibleServiceTypeNotRegisteredException
Microsoft.TeamFoundation.Framework.Server.ExtensibleServiceTypeNotValidException
Microsoft.TeamFoundation.Framework.Server.FailedToAcquireServicingLockException
Microsoft.TeamFoundation.Framework.Server.FeatureDisabledException
Microsoft.TeamFoundation.Framework.Server.FileAlreadyUploadedException
Microsoft.TeamFoundation.Framework.Server.FileIdNotFoundException
Microsoft.TeamFoundation.Framework.Server.HostManagementException
Microsoft.TeamFoundation.Framework.Server.HttpComponentResponseException
Microsoft.TeamFoundation.Framework.Server.IncompatibleCompressionFormatException
Microsoft.TeamFoundation.Framework.Server.IncompleteUploadException
Microsoft.TeamFoundation.Framework.Server.IncorrectSizeException
Microsoft.TeamFoundation.Framework.Server.InvalidAccessException
Microsoft.TeamFoundation.Framework.Server.InvalidFeatureDescriptionException
Microsoft.TeamFoundation.Framework.Server.InvalidFeatureFlagStateValueException
Microsoft.TeamFoundation.Framework.Server.InvalidFeatureNameException
Microsoft.TeamFoundation.Framework.Server.InvalidKpiStateException
Microsoft.TeamFoundation.Framework.Server.InvalidLobParameterException
Microsoft.TeamFoundation.Framework.Server.InvalidParentHostException
Microsoft.TeamFoundation.Framework.Server.InvalidQuotaException
Microsoft.TeamFoundation.Framework.Server.InvalidRequestContextHostException
Microsoft.TeamFoundation.Framework.Server.JobAgentException
Microsoft.TeamFoundation.Framework.Server.KpiExistsException
Microsoft.TeamFoundation.Framework.Server.KpiNotFoundException
Microsoft.TeamFoundation.Framework.Server.LockTimeoutException
Microsoft.TeamFoundation.Framework.Server.MessageBusAlreadySubscribingException
Microsoft.TeamFoundation.Framework.Server.MessageBusConfigurationException
Microsoft.TeamFoundation.Framework.Server.MessageBusNotFoundException
Microsoft.TeamFoundation.Framework.Server.MissingFeatureException
Microsoft.TeamFoundation.Framework.Server.MissingQuotaDefinitionException
Microsoft.TeamFoundation.Framework.Server.MultiplePartitionsNotSupportedException
Microsoft.TeamFoundation.Framework.Server.PropertyServiceException
Microsoft.TeamFoundation.Framework.Server.QueryExpressionException
Microsoft.TeamFoundation.Framework.Server.RedirectionException
Microsoft.TeamFoundation.Framework.Server.RegistryPathException
Microsoft.TeamFoundation.Framework.Server.RegistryPathPatternException
Microsoft.TeamFoundation.Framework.Server.RequestCanceledException
Microsoft.TeamFoundation.Framework.Server.RequestFilterException
Microsoft.TeamFoundation.Framework.Server.ResourceStreamNotFoundException
Microsoft.TeamFoundation.Framework.Server.ServiceLevelException
Microsoft.TeamFoundation.Framework.Server.ServicingDisabledException
Microsoft.TeamFoundation.Framework.Server.ServicingValidationException
Microsoft.TeamFoundation.Framework.Server.SqlAzureException
Microsoft.TeamFoundation.Framework.Server.StepPerformerNotFoundException
Microsoft.TeamFoundation.Framework.Server.StreamingCollectionUnsupportedOperationException
Microsoft.TeamFoundation.Framework.Server.StrongBoxException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationAccessControlException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabaseCopyException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabaseSplitException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationDeserializationException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationExtensionNotFoundException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationInvalidCertificateException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationJobServiceException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationLocationServiceException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationLockException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationMessageQueueException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationOAuthServiceException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationProcessStillRunningException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationResourceManagementServiceException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationSecurityServiceException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationServicingException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationSessionAuthenticationException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationValidationException
Microsoft.TeamFoundation.Framework.Server.TooManyItemsException
Microsoft.TeamFoundation.Framework.Server.UnexpectedDatabaseResultException
Microsoft.TeamFoundation.Framework.Server.UnexpectedHostTypeException
Microsoft.TeamFoundation.Framework.Server.UnknownMigrationOwnerException
Microsoft.TeamFoundation.Framework.Server.VirtualPathMappingException
Microsoft.TeamFoundation.Framework.Server.VirtualPathsConflictException
Microsoft.TeamFoundation.Git.Server.GitCommitDoesNotExistException
Microsoft.TeamFoundation.Git.Server.GitFeatureNotEnabledException
Microsoft.TeamFoundation.Git.Server.GitForcePushDeniedException
Microsoft.TeamFoundation.Git.Server.GitIndexDuplicateObjectIdException
Microsoft.TeamFoundation.Git.Server.GitItemVersionException
Microsoft.TeamFoundation.Git.Server.GitNeedsPermissionException
Microsoft.TeamFoundation.Git.Server.GitNeedsTeamProjectCreatePermissionException
Microsoft.TeamFoundation.Git.Server.GitNeedsTeamProjectDeletePermissionException
Microsoft.TeamFoundation.Git.Server.GitNotEnabledForTeamProjectException
Microsoft.TeamFoundation.Git.Server.GitObjectDoesNotExistException
Microsoft.TeamFoundation.Git.Server.GitObjectsCannotBeAccessedDirectlyException
Microsoft.TeamFoundation.Git.Server.GitObjectTooLargeException
Microsoft.TeamFoundation.Git.Server.GitPackDoesNotExistException
Microsoft.TeamFoundation.Git.Server.GitPackMissingBaseFileException
Microsoft.TeamFoundation.Git.Server.GitParserException
Microsoft.TeamFoundation.Git.Server.GitReferenceStaleException
Microsoft.TeamFoundation.Git.Server.GitRefNotFoundException
Microsoft.TeamFoundation.Git.Server.GitRepositoryMinimumPerProjectThresholdExceededException
Microsoft.TeamFoundation.Git.Server.GitRepositoryNameAlreadyExistsException
Microsoft.TeamFoundation.Git.Server.GitRepositoryNotFoundException
Microsoft.TeamFoundation.Git.Server.GitRepositoryPerProjectThresholdExceededException
Microsoft.TeamFoundation.Git.Server.GitStorageContainerNotFoundException
Microsoft.TeamFoundation.Git.Server.GitUnresolvableToCommitException
Microsoft.TeamFoundation.Git.Server.InflaterExceededLengthException
Microsoft.TeamFoundation.Git.Server.InvalidGitDeltaDataException
Microsoft.TeamFoundation.Git.Server.InvalidGitIndexException
Microsoft.TeamFoundation.Git.Server.InvalidGitObjectTypeException
Microsoft.TeamFoundation.Git.Server.InvalidGitPackEntryHeaderException
Microsoft.TeamFoundation.Git.Server.InvalidGitPackHeaderException
Microsoft.TeamFoundation.Git.Server.InvalidGitRefNameException
Microsoft.TeamFoundation.Git.Server.InvalidGitRepositoryNameException
Microsoft.TeamFoundation.Server.AuthorizationSubsystemServiceException
Microsoft.TeamFoundation.Server.CommonStructureSubsystemServiceException
Microsoft.TeamFoundation.Server.Core.DownloadTicketValidationException
Microsoft.TeamFoundation.Server.Core.DuplicateTagNameException
Microsoft.TeamFoundation.Server.Core.InvalidRegistryException
Microsoft.TeamFoundation.Server.Core.InvalidTagArtifactKindException
Microsoft.TeamFoundation.Server.Core.InvalidTagArtifactTypeException
Microsoft.TeamFoundation.Server.Core.InvalidTagNameException
Microsoft.TeamFoundation.Server.Core.MissingLicenseException
Microsoft.TeamFoundation.Server.Core.ParseException
Microsoft.TeamFoundation.Server.Core.ProxyException
Microsoft.TeamFoundation.Server.Core.TagDefinitionNotFoundException
Microsoft.TeamFoundation.Server.Core.TagException
Microsoft.TeamFoundation.Server.Core.TeamFoundationCatalogServiceException
Microsoft.TeamFoundation.Server.GroupSecuritySubsystemServiceException
Microsoft.TeamFoundation.Server.SyncSubsystemServiceException
Microsoft.TeamFoundation.VersionControl.Server.ServerException
Microsoft.TeamFoundation.Warehouse.WarehouseException
Microsoft.VisualStudio.Services.AAD.AzureActiveDirectoryException