IProfileService.SetAvatar 方法

将特定的配置文件的具体化。

命名空间:  Microsoft.VisualStudio.Services.Profile
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Function SetAvatar ( _
    requestContext As TeamFoundationRequestContext, _
    id As Guid, _
    image As Byte() _
) As Integer
int SetAvatar(
    TeamFoundationRequestContext requestContext,
    Guid id,
    byte[] image
)

参数

  • id
    类型:System.Guid
    配置文件关联标识的 GUID。存在一对一映射。标识和配置文件之间
  • image
    类型:array<System.Byte[]
    有效的图像的二进制位在字节数组窗体

返回值

类型:System.Int32
更新具体化的版本

.NET Framework 安全性

请参阅

参考

IProfileService 接口

Microsoft.VisualStudio.Services.Profile 命名空间