ServerException 类
所有服务器生成的异常的基类
继承层次结构
System.Object
System.Exception
System.ApplicationException
Microsoft.TeamFoundation.TeamFoundationServerException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
Microsoft.TeamFoundation.VersionControl.Server.ServerException
更多...
命名空间: Microsoft.TeamFoundation.VersionControl.Server
程序集: Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
语法
声明
<SerializableAttribute> _
Public MustInherit Class ServerException _
Inherits TeamFoundationServiceException
[SerializableAttribute]
public abstract class ServerException : TeamFoundationServiceException
ServerException 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ServerException() | ||
ServerException(String) | ||
ServerException(String, Exception) |
页首
属性
名称 | 说明 | |
---|---|---|
Data | 获取关联的数据具有此异常,因此,如果有的话)。 (继承自 TeamFoundationServerException。) | |
ErrorCode | 用户定义的错误代码。 (继承自 TeamFoundationServiceException。) | |
EventId | 报告事件的 ID 异常是否为事件日志进行标记。 (继承自 TeamFoundationServiceException。) | |
FaultCode | 指示异常的 SOAP 错误代码。 (继承自 TeamFoundationServiceException。) | |
HelpLink | 获取或设置指向此异常所关联帮助文件的链接。 (继承自 Exception。) | |
HResult | 获取或设置 HRESULT(一个分配给特定异常的编码数字值)。 (继承自 Exception。) | |
InnerException | 获取导致当前异常的 Exception 实例。 (继承自 Exception。) | |
IsRemoteException | 获取描述的标志此异常是由服务器引发并由客户端接收。 (继承自 TeamFoundationServerException。) | |
LogException | 指示是否应记录此异常实例。 (继承自 TeamFoundationServiceException。) | |
LogLevel | 使用的事件日志项类型,在记录异常。 (继承自 TeamFoundationServiceException。) | |
Message | 获取描述当前异常的消息。 (继承自 Exception。) | |
ReportException | 指示是否应通过 dr 报告异常。Watson。 (继承自 TeamFoundationServiceException。) | |
RequestContext | RequestContext 关联具有此异常。这可能为 null。 (继承自 TeamFoundationServiceException。) | |
Source | 获取或设置导致错误的应用程序或对象的名称。 (继承自 Exception。) | |
StackTrace | 获取调用堆栈上直接帧的字符串表示形式。 (继承自 Exception。) | |
TargetSite | 获取引发当前异常的方法。 (继承自 Exception。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) | |
ExtractIdentityName | 分析SqlError消息并提取键标识的字段。字段将标识ID,并且,Id转换为显示名称。 | |
ExtractLocalItem | 分析SqlError消息并提取键标识的字段。字段视为本地路径。 | |
ExtractLocalOrServerItem | 分析SqlError消息并提取键标识的字段。字段视为本地路径或服务器路径。 | |
ExtractServerItem | 分析SqlError消息并提取键标识的字段。字段将服务器路径。 | |
Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | |
GetBaseException | 当在派生类中重写时,返回 Exception,它是一个或多个并发的异常的根源。 (继承自 Exception。) | |
GetExceptionProperties | 检索序列化到客户端异常的属性。属性将添加为 SOAP 详细信息节点名为“属性的子级”。每个属性编写的,以便节点的名称是属性名称,并且该元素的文本子项是值。“type”属性在反序列化包含在属性节点帮助。 (继承自 TeamFoundationServiceException。) | |
GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | |
GetObjectData | 安全关键。序列化此异常选件类存储的其他属性。 (继承自 TeamFoundationServiceException。) | |
GetProperty<T> | (继承自 TeamFoundationServerException。) | |
GetType | 获取当前实例的运行时类型。 (继承自 Exception。) | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | |
SetFailureInfo | ||
ToString | 创建并返回当前异常的字符串表示形式。 (继承自 Exception。) |
页首
事件
名称 | 说明 | |
---|---|---|
SerializeObjectState | 在序列化异常,以创建包含有关异常的序列化数据的异常状态对象时发生。 (继承自 Exception。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.TeamFoundation.VersionControl.Server 命名空间
继承层次结构
System.Object
System.Exception
System.ApplicationException
Microsoft.TeamFoundation.TeamFoundationServerException
Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceException
Microsoft.TeamFoundation.VersionControl.Server.ServerException
Microsoft.TeamFoundation.VersionControl.Server.AcceptMergeNamespaceConflictRequiresDestinationException
Microsoft.TeamFoundation.VersionControl.Server.AcceptMergeVersionConflictRequiresDestinationException
Microsoft.TeamFoundation.VersionControl.Server.AcceptYoursRenameTheirsRequiresDestinationException
Microsoft.TeamFoundation.VersionControl.Server.ArtifactIdentifierRequiredException
Microsoft.TeamFoundation.VersionControl.Server.AutoMergeDisallowedException
Microsoft.TeamFoundation.VersionControl.Server.BadChecksumException
Microsoft.TeamFoundation.VersionControl.Server.CannotChangeRootFolderException
Microsoft.TeamFoundation.VersionControl.Server.CannotChangeWorkspaceOwnerException
Microsoft.TeamFoundation.VersionControl.Server.CannotCheckinAllWithEditException
Microsoft.TeamFoundation.VersionControl.Server.CannotCreateFilesInRootException
Microsoft.TeamFoundation.VersionControl.Server.CannotFindLatestChangesetException
Microsoft.TeamFoundation.VersionControl.Server.CannotMergeUnderSourceException
Microsoft.TeamFoundation.VersionControl.Server.CannotMergeWithWorkspaceSpecAndPendingDeleteException
Microsoft.TeamFoundation.VersionControl.Server.CannotMoveToRootException
Microsoft.TeamFoundation.VersionControl.Server.CannotRenameBackToOriginalSourceException
Microsoft.TeamFoundation.VersionControl.Server.CannotRenameDueToChildConflictException
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveAcceptMergeWithNonexistentVersionException
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveBecauseShelvesetDeletedException
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveConflictAsAutoMerge
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveDeletedItemWithAcceptMergeException
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveDueToRenameAndDelete
Microsoft.TeamFoundation.VersionControl.Server.CannotResolveToPartialUndeleteException
Microsoft.TeamFoundation.VersionControl.Server.CannotSpecifyNewNameException
Microsoft.TeamFoundation.VersionControl.Server.CannotTakeCheckoutLockInLocalWorkspaceException
Microsoft.TeamFoundation.VersionControl.Server.CannotUndeleteTeamProjectFolderException
Microsoft.TeamFoundation.VersionControl.Server.CannotUndoItemExistingLockConflictsException
Microsoft.TeamFoundation.VersionControl.Server.CannotUndoRenameDueToChildConflictException
Microsoft.TeamFoundation.VersionControl.Server.CannotUnlockException
Microsoft.TeamFoundation.VersionControl.Server.ChangesetAuthorMustBeNonGroupException
Microsoft.TeamFoundation.VersionControl.Server.ChangesetNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.CheckoutLockRequiredException
Microsoft.TeamFoundation.VersionControl.Server.CheckoutLocksDisabledException
Microsoft.TeamFoundation.VersionControl.Server.ContentNotUploadedException
Microsoft.TeamFoundation.VersionControl.Server.CouldNotAddProxyException
Microsoft.TeamFoundation.VersionControl.Server.CouldNotDeleteProxyException
Microsoft.TeamFoundation.VersionControl.Server.CreateBranchObjectException
Microsoft.TeamFoundation.VersionControl.Server.DateVersionSpecBeforeBeginningOfRepositoryException
Microsoft.TeamFoundation.VersionControl.Server.DestroyedContentUnavailableException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateChangeException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateCheckinNoteFieldException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateExtensionException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateFileTypeException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateItemFoundException
Microsoft.TeamFoundation.VersionControl.Server.DuplicateWorkingFolderException
Microsoft.TeamFoundation.VersionControl.Server.FeatureNotSupportedException
Microsoft.TeamFoundation.VersionControl.Server.FileIdNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.FutureDateException
Microsoft.TeamFoundation.VersionControl.Server.GenericException
Microsoft.TeamFoundation.VersionControl.Server.GetLatestOnCheckoutDisabledException
Microsoft.TeamFoundation.VersionControl.Server.IdentityDeletedException
Microsoft.TeamFoundation.VersionControl.Server.IllegalCommentException
Microsoft.TeamFoundation.VersionControl.Server.IllegalComputerNameException
Microsoft.TeamFoundation.VersionControl.Server.IllegalFieldNameException
Microsoft.TeamFoundation.VersionControl.Server.IllegalIdentityException
Microsoft.TeamFoundation.VersionControl.Server.IllegalLabelNameException
Microsoft.TeamFoundation.VersionControl.Server.IllegalPolicyNameException
Microsoft.TeamFoundation.VersionControl.Server.IllegalShelvesetException
Microsoft.TeamFoundation.VersionControl.Server.IllegalShelvesetOwnerException
Microsoft.TeamFoundation.VersionControl.Server.IllegalUrlException
Microsoft.TeamFoundation.VersionControl.Server.IllegalVersionException
Microsoft.TeamFoundation.VersionControl.Server.IllegalWorkspaceException
Microsoft.TeamFoundation.VersionControl.Server.IncompatibleCompressionFormatException
Microsoft.TeamFoundation.VersionControl.Server.IncompletePendingChangeException
Microsoft.TeamFoundation.VersionControl.Server.IncompleteUploadException
Microsoft.TeamFoundation.VersionControl.Server.InconsistentRequestTypesException
Microsoft.TeamFoundation.VersionControl.Server.IncorrectSizeException
Microsoft.TeamFoundation.VersionControl.Server.InvalidAcceptYoursException
Microsoft.TeamFoundation.VersionControl.Server.InvalidAcceptYoursRenameTheirsException
Microsoft.TeamFoundation.VersionControl.Server.InvalidBranchCheckinOptionException
Microsoft.TeamFoundation.VersionControl.Server.InvalidCheckinDateException
Microsoft.TeamFoundation.VersionControl.Server.InvalidCheckinTicketException
Microsoft.TeamFoundation.VersionControl.Server.InvalidConflictIdException
Microsoft.TeamFoundation.VersionControl.Server.InvalidExtensionException
Microsoft.TeamFoundation.VersionControl.Server.InvalidFileIdException
Microsoft.TeamFoundation.VersionControl.Server.InvalidResolutionException
Microsoft.TeamFoundation.VersionControl.Server.InvalidSqlDateException
Microsoft.TeamFoundation.VersionControl.Server.InvalidVersionSpecException
Microsoft.TeamFoundation.VersionControl.Server.InvalidVersionSpecForOperationException
Microsoft.TeamFoundation.VersionControl.Server.ItemRequiredException
Microsoft.TeamFoundation.VersionControl.Server.LabelExistsException
Microsoft.TeamFoundation.VersionControl.Server.LabelHasChildrenException
Microsoft.TeamFoundation.VersionControl.Server.LabelNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.LabelNotUniqueException
Microsoft.TeamFoundation.VersionControl.Server.LabelOwnerChangeException
Microsoft.TeamFoundation.VersionControl.Server.LocalPathTooLongException
Microsoft.TeamFoundation.VersionControl.Server.LongPathInWorkspaceRequires2012QU1Exception
Microsoft.TeamFoundation.VersionControl.Server.MaxRowsEvaluatedException
Microsoft.TeamFoundation.VersionControl.Server.MergeEditDeleteException
Microsoft.TeamFoundation.VersionControl.Server.MergeTargetFileSourceDirectoryException
Microsoft.TeamFoundation.VersionControl.Server.MergeTargetPathAlreadyHasPendingMergeException
Microsoft.TeamFoundation.VersionControl.Server.MergeTargetPathHasIncompatiblePendingChangeException
Microsoft.TeamFoundation.VersionControl.Server.MergeTargetPathHasNamespacePendingChangeConflictException
Microsoft.TeamFoundation.VersionControl.Server.MustUndeleteParentException
Microsoft.TeamFoundation.VersionControl.Server.NoChangesToShelveException
Microsoft.TeamFoundation.VersionControl.Server.NoMergeRelationshipException
Microsoft.TeamFoundation.VersionControl.Server.OwnerRequiredException
Microsoft.TeamFoundation.VersionControl.Server.PartialRenameConflictException
Microsoft.TeamFoundation.VersionControl.Server.PendingChangeChangedException
Microsoft.TeamFoundation.VersionControl.Server.PendingChangeContentNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.PluginHasMultipleInterfacesException
Microsoft.TeamFoundation.VersionControl.Server.RepositoryPathTooLongDetailedException
Microsoft.TeamFoundation.VersionControl.Server.RepositoryPathTooLongDueToDeletedItemsException
Microsoft.TeamFoundation.VersionControl.Server.RepositoryPathTooLongException
Microsoft.TeamFoundation.VersionControl.Server.ReservedAnnotationException
Microsoft.TeamFoundation.VersionControl.Server.RollbackInvalidOptionException
Microsoft.TeamFoundation.VersionControl.Server.RollbackInvalidVersionSpecException
Microsoft.TeamFoundation.VersionControl.Server.RootInheritanceException
Microsoft.TeamFoundation.VersionControl.Server.SecurityConfigurationException
Microsoft.TeamFoundation.VersionControl.Server.SecurityException
Microsoft.TeamFoundation.VersionControl.Server.ServerItemException
Microsoft.TeamFoundation.VersionControl.Server.ShelveMergeConflictExistsException
Microsoft.TeamFoundation.VersionControl.Server.ShelvesetExistsException
Microsoft.TeamFoundation.VersionControl.Server.ShelvesetNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.ShelvingPartialRenameConflictException
Microsoft.TeamFoundation.VersionControl.Server.TargetIsChildException
Microsoft.TeamFoundation.VersionControl.Server.TeamProjectCannotDeleteException
Microsoft.TeamFoundation.VersionControl.Server.TeamProjectNotEmptyException
Microsoft.TeamFoundation.VersionControl.Server.TeamProjectNotFoundException
Microsoft.TeamFoundation.VersionControl.Server.UndeleteAboveUnrelatedItemException
Microsoft.TeamFoundation.VersionControl.Server.UndeleteNewNameNotSupportedException
Microsoft.TeamFoundation.VersionControl.Server.UnshelvingPartialRenameException
Microsoft.TeamFoundation.VersionControl.Server.WebMethodNotSupportedException
Microsoft.TeamFoundation.VersionControl.Server.WildcardNotAllowedException
Microsoft.TeamFoundation.VersionControl.Server.WorkingFolderInUseException
Microsoft.TeamFoundation.VersionControl.Server.WorkspaceException