Identity 类
继承层次结构
System.Object
Microsoft.VisualStudio.Services.Identity.Identity
命名空间: Microsoft.VisualStudio.Services.Identity
程序集: Microsoft.VisualStudio.Services.WebApi(在 Microsoft.VisualStudio.Services.WebApi.dll 中)
语法
声明
<DataContractAttribute> _
Public NotInheritable Class Identity
[DataContractAttribute]
public sealed class Identity
Identity 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
Identity |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
CustomDisplayName | |
![]() |
Descriptor | |
![]() |
DisplayName | |
![]() |
Id | |
![]() |
IsActive | |
![]() |
IsContainer | |
![]() |
MemberOf | |
![]() |
Members | |
![]() |
Properties | |
![]() |
ProviderDisplayName | |
![]() |
UniqueUserId |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Clone | |
![]() |
Equals | (重写 Object.Equals(Object)。) |
![]() |
GetHashCode | (重写 Object.GetHashCode()。) |
![]() |
GetProperty<T> | |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
SetProperty | |
![]() |
ToString | (重写 Object.ToString()。) |
![]() |
TryGetProperty |
页首
扩展方法
名称 | 说明 | |
---|---|---|
![]() |
GetModifiedProperties | (由 IdentityExtensions 定义。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。