Delen via


FrameworkProfileHttpClient.GetAvatarAsync Method (Guid, AvatarSize, Object)

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

Syntax

'Declaration
Public Overridable Function GetAvatarAsync ( _
    id As Guid, _
    size As AvatarSize, _
    userState As Object _
) As Task(Of Avatar)
public virtual Task<Avatar> GetAvatarAsync(
    Guid id,
    AvatarSize size,
    Object userState
)
public:
virtual Task<Avatar^>^ GetAvatarAsync(
    Guid id, 
    AvatarSize size, 
    Object^ userState
)
abstract GetAvatarAsync : 
        id:Guid * 
        size:AvatarSize * 
        userState:Object -> Task<Avatar> 
override GetAvatarAsync : 
        id:Guid * 
        size:AvatarSize * 
        userState:Object -> Task<Avatar> 
public function GetAvatarAsync(
    id : Guid, 
    size : AvatarSize, 
    userState : Object
) : Task<Avatar>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

FrameworkProfileHttpClient Class

GetAvatarAsync Overload

Microsoft.VisualStudio.Services.Profile Namespace