FrameworkProfileHttpClient.SetAttributesAsync 方法 (Guid, IList<ProfileAttribute>, IList<CoreProfileAttribute>, Object)
命名空间: Microsoft.VisualStudio.Services.Profile
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Public Overridable Function SetAttributesAsync ( _
id As Guid, _
applicationAttributes As IList(Of ProfileAttribute), _
coreAttributes As IList(Of CoreProfileAttribute), _
userState As Object _
) As Task(Of Integer)
public virtual Task<int> SetAttributesAsync(
Guid id,
IList<ProfileAttribute> applicationAttributes,
IList<CoreProfileAttribute> coreAttributes,
Object userState
)
参数
- id
类型:System.Guid
- applicationAttributes
类型:System.Collections.Generic.IList<ProfileAttribute>
- coreAttributes
类型:System.Collections.Generic.IList<CoreProfileAttribute>
- userState
类型:System.Object
返回值
类型:System.Threading.Tasks.Task<Int32>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。