Share via


ProfileHttpClient.GetProfileAsync Method (ProfileQueryContext, Object)

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ProfileHttpClient Class

GetProfileAsync Overload

Microsoft.VisualStudio.Services.Profile.Client Namespace