共用方式為


FrameworkProfileHttpClient.GetAvatarAsync 方法 (Guid, AvatarSize, Object)

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

語法

'宣告
Public Overridable Function GetAvatarAsync ( _
    id As Guid, _
    size As AvatarSize, _
    userState As Object _
) As Task(Of Avatar)
public virtual Task<Avatar> GetAvatarAsync(
    Guid id,
    AvatarSize size,
    Object userState
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

FrameworkProfileHttpClient 類別

GetAvatarAsync 多載

Microsoft.VisualStudio.Services.Profile 命名空間