共用方式為


ProfileHttpClientBase.GetAttributesAsync Method

Namespace:  Microsoft.VisualStudio.Services.Profile.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
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
)
protected:
virtual Task<Tuple<IList<ProfileAttribute^>^, IList<CoreProfileAttribute^>^>^>^ GetAttributesAsync(
    AttributesQueryContext^ attributesQueryContext, 
    String^ id, 
    Object^ userState
)
abstract GetAttributesAsync : 
        attributesQueryContext:AttributesQueryContext * 
        id:string * 
        userState:Object -> Task<Tuple<IList<ProfileAttribute>, IList<CoreProfileAttribute>>> 
override GetAttributesAsync : 
        attributesQueryContext:AttributesQueryContext * 
        id:string * 
        userState:Object -> Task<Tuple<IList<ProfileAttribute>, IList<CoreProfileAttribute>>> 
protected function GetAttributesAsync(
    attributesQueryContext : AttributesQueryContext, 
    id : String, 
    userState : Object
) : Task<Tuple<IList<ProfileAttribute>, IList<CoreProfileAttribute>>>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ProfileHttpClientBase Class

Microsoft.VisualStudio.Services.Profile.Client Namespace