共用方式為


FrameworkProfileHttpClient.GetAttributesAsync 方法 (Guid, AttributesQueryContext, Object)

命名空間:  Microsoft.VisualStudio.Services.Profile
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Overridable Function GetAttributesAsync ( _
    id As Guid, _
    attributesQueryContext As AttributesQueryContext, _
    userState As Object _
) As Task(Of Tuple(Of IList(Of ProfileAttribute), IList(Of CoreProfileAttribute)))
public virtual Task<Tuple<IList<ProfileAttribute>, IList<CoreProfileAttribute>>> GetAttributesAsync(
    Guid id,
    AttributesQueryContext attributesQueryContext,
    Object userState
)

參數

傳回值

類型:System.Threading.Tasks.Task<Tuple<IList<ProfileAttribute>, IList<CoreProfileAttribute>>>

.NET Framework 安全性

請參閱

參考

FrameworkProfileHttpClient 類別

GetAttributesAsync 多載

Microsoft.VisualStudio.Services.Profile 命名空間