Поделиться через


ProfileHttpClientBase.SetAvatarAsync Method

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ProfileHttpClientBase Class

Microsoft.VisualStudio.Services.Profile.Client Namespace