共用方式為


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
)

參數

傳回值

類型:System.Threading.Tasks.Task<Int32>

.NET Framework 安全性

請參閱

參考

FrameworkProfileHttpClient 類別

SetAttributesAsync 多載

Microsoft.VisualStudio.Services.Profile 命名空間