IdentityServiceException 类

继承层次结构

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.VisualStudio.Services.Common.VssException
        Microsoft.VisualStudio.Services.Common.VssServiceException
          Microsoft.VisualStudio.Services.Identity.IdentityServiceException
            更多...

命名空间:  Microsoft.VisualStudio.Services.Identity
程序集:  Microsoft.VisualStudio.Services.WebApi(在 Microsoft.VisualStudio.Services.WebApi.dll 中)

语法

声明
<SerializableAttribute> _
Public Class IdentityServiceException _
    Inherits VssServiceException
[SerializableAttribute]
public class IdentityServiceException : VssServiceException

IdentityServiceException 类型公开以下成员。

构造函数

  名称 说明
公共方法 IdentityServiceException()
公共方法 IdentityServiceException(String)
受保护的方法 IdentityServiceException(SerializationInfo, StreamingContext)
公共方法 IdentityServiceException(String, Exception)

页首

属性

  名称 说明
公共属性 Data 获取一个提供用户定义的其他异常信息的键/值对的集合。 (继承自 Exception。)
公共属性 ErrorCode (继承自 VssException。)
公共属性 EventId (继承自 VssException。)
公共属性 HelpLink 获取或设置指向此异常所关联帮助文件的链接。 (继承自 Exception。)
受保护的属性 HResult 获取或设置 HRESULT(一个分配给特定异常的编码数字值)。 (继承自 Exception。)
公共属性 InnerException 获取导致当前异常的 Exception 实例。 (继承自 Exception。)
公共属性 LogException (继承自 VssException。)
公共属性 LogLevel (继承自 VssException。)
公共属性 Message 获取描述当前异常的消息。 (继承自 Exception。)
公共属性 ReportException (继承自 VssException。)
公共属性 Source 获取或设置导致错误的应用程序或对象的名称。 (继承自 Exception。)
公共属性 StackTrace 获取调用堆栈上直接帧的字符串表示形式。 (继承自 Exception。)
公共属性 TargetSite 获取引发当前异常的方法。 (继承自 Exception。)

页首

方法

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

页首

事件

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

页首

线程安全

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

请参阅

参考

Microsoft.VisualStudio.Services.Identity 命名空间

继承层次结构

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.VisualStudio.Services.Common.VssException
        Microsoft.VisualStudio.Services.Common.VssServiceException
          Microsoft.VisualStudio.Services.Identity.IdentityServiceException
            Microsoft.TeamFoundation.Server.Core.DeleteSelfException
            Microsoft.TeamFoundation.Server.Core.MultipleIdentitiesFoundException
            Microsoft.TeamFoundation.Server.Core.ProjectNotFoundException
            Microsoft.VisualStudio.Services.Identity.AccountPreferencesAlreadyExistException
            Microsoft.VisualStudio.Services.Identity.AddGroupMemberIllegalInternetIdentityException
            Microsoft.VisualStudio.Services.Identity.AddGroupMemberIllegalMemberException
            Microsoft.VisualStudio.Services.Identity.AddGroupMemberIllegalWindowsIdentityException
            Microsoft.VisualStudio.Services.Identity.AddMemberCyclicMembershipException
            Microsoft.VisualStudio.Services.Identity.AddMemberIdentityAlreadyMemberException
            Microsoft.VisualStudio.Services.Identity.AddProjectGroupProjectMismatchException
            Microsoft.VisualStudio.Services.Identity.FindGroupSidDoesNotExistException
            Microsoft.VisualStudio.Services.Identity.GroupCreationException
            Microsoft.VisualStudio.Services.Identity.GroupNameNotRecognizedException
            Microsoft.VisualStudio.Services.Identity.GroupRenameException
            Microsoft.VisualStudio.Services.Identity.GroupScopeCreationException
            Microsoft.VisualStudio.Services.Identity.GroupScopeDoesNotExistException
            Microsoft.VisualStudio.Services.Identity.IdentityAccountNameAlreadyInUseException
            Microsoft.VisualStudio.Services.Identity.IdentityAliasAlreadyInUseException
            Microsoft.VisualStudio.Services.Identity.IdentityAlreadyExistsException
            Microsoft.VisualStudio.Services.Identity.IdentityDomainMismatchException
            Microsoft.VisualStudio.Services.Identity.IdentityExpressionException
            Microsoft.VisualStudio.Services.Identity.IdentityMapReadOnlyException
            Microsoft.VisualStudio.Services.Identity.IdentityNotFoundException
            Microsoft.VisualStudio.Services.Identity.IdentityNotServiceIdentityException
            Microsoft.VisualStudio.Services.Identity.IdentityPropertyRequiredException
            Microsoft.VisualStudio.Services.Identity.IdentityProviderUnavailableException
            Microsoft.VisualStudio.Services.Identity.IdentitySyncException
            Microsoft.VisualStudio.Services.Identity.IllegalIdentityException
            Microsoft.VisualStudio.Services.Identity.InvalidBindPendingIdentityDescriptorException
            Microsoft.VisualStudio.Services.Identity.InvalidDisplayNameException
            Microsoft.VisualStudio.Services.Identity.InvalidServiceIdentityNameException
            Microsoft.VisualStudio.Services.Identity.ModifyEveryoneGroupException
            Microsoft.VisualStudio.Services.Identity.NotApplicationGroupException
            Microsoft.VisualStudio.Services.Identity.NotASecurityGroupException
            Microsoft.VisualStudio.Services.Identity.RemoveGroupMemberNotMemberException
            Microsoft.VisualStudio.Services.Identity.RemoveMemberServiceAccountException
            Microsoft.VisualStudio.Services.Identity.RemoveNonexistentGroupException
            Microsoft.VisualStudio.Services.Identity.RemoveSelfFromAdminGroupException
            Microsoft.VisualStudio.Services.Identity.RemoveSpecialGroupException