共用方式為


ProfileHttpClientBase.GetAttributesAsync 方法

命名空間:  Microsoft.VisualStudio.Services.Profile.Client
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
Protected Overridable Function GetAttributesAsync ( _
    attributesQueryContext As AttributesQueryContext, _
    id As String, _
    userState As Object _
) As Task(Of Tuple(Of IList(Of ProfileAttribute), IList(Of CoreProfileAttribute)))
protected virtual Task<Tuple<IList<ProfileAttribute>, IList<CoreProfileAttribute>>> GetAttributesAsync(
    AttributesQueryContext attributesQueryContext,
    string id,
    Object userState
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

ProfileHttpClientBase 類別

Microsoft.VisualStudio.Services.Profile.Client 命名空間