共用方式為


FrameworkProfileHttpClient.SetAvatarAsync 方法 (Guid, Avatar, Object)

命名空間:  Microsoft.VisualStudio.Services.Profile
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
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
)

參數

傳回值

類型:System.Threading.Tasks.Task<Int32>

.NET Framework 安全性

請參閱

參考

FrameworkProfileHttpClient 類別

SetAvatarAsync 多載

Microsoft.VisualStudio.Services.Profile 命名空間