Delen via


ProfileHttpClientBase.GetAvatarAsync Method (AvatarSize, String, Object)

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ProfileHttpClientBase Class

GetAvatarAsync Overload

Microsoft.VisualStudio.Services.Profile.Client Namespace