Delen via


FrameworkProfileHttpClient.GetProfileAsync Method (Guid, ProfileQueryContext, Object)

Namespace:  Microsoft.VisualStudio.Services.Profile
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Overridable Function GetProfileAsync ( _
    id As Guid, _
    queryContext As ProfileQueryContext, _
    userState As Object _
) As Task(Of Profile)
public virtual Task<Profile> GetProfileAsync(
    Guid id,
    ProfileQueryContext queryContext,
    Object userState
)
public:
virtual Task<Profile^>^ GetProfileAsync(
    Guid id, 
    ProfileQueryContext^ queryContext, 
    Object^ userState
)
abstract GetProfileAsync : 
        id:Guid * 
        queryContext:ProfileQueryContext * 
        userState:Object -> Task<Profile> 
override GetProfileAsync : 
        id:Guid * 
        queryContext:ProfileQueryContext * 
        userState:Object -> Task<Profile> 
public function GetProfileAsync(
    id : Guid, 
    queryContext : ProfileQueryContext, 
    userState : Object
) : Task<Profile>

Parameters

Return Value

Type: System.Threading.Tasks.Task<Profile>

.NET Framework Security

See Also

Reference

FrameworkProfileHttpClient Class

GetProfileAsync Overload

Microsoft.VisualStudio.Services.Profile Namespace