Share via


FrameworkProfileHttpClient.SetAvatarAsync Method (Guid, Avatar, Object)

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

FrameworkProfileHttpClient Class

SetAvatarAsync Overload

Microsoft.VisualStudio.Services.Profile Namespace