Share via


ProfileHttpClient.SetAvatarAsync Method (Avatar, Object)

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ProfileHttpClient Class

SetAvatarAsync Overload

Microsoft.VisualStudio.Services.Profile.Client Namespace