TeamFoundationIdentityService.GetPreferredEmailAddress 方法 (TeamFoundationRequestContext, Guid, Boolean)

获取首选地址。

命名空间:  Microsoft.TeamFoundation.Server.Core
程序集:  Microsoft.TeamFoundation.Server.Core(在 Microsoft.TeamFoundation.Server.Core.dll 中)

语法

声明
Public Function GetPreferredEmailAddress ( _
    requestContext As TeamFoundationRequestContext, _
    teamFoundationId As Guid, _
    confirmed As Boolean _
) As String
public string GetPreferredEmailAddress(
    TeamFoundationRequestContext requestContext,
    Guid teamFoundationId,
    bool confirmed
)

参数

  • confirmed
    类型:System.Boolean
    如果为 true,则返回该首选地址,如果设置并确认。如果未确认返回默认值电子邮件。当错误,并返回该首选地址,如果设置为,否则返回该默认值。

返回值

类型:System.String

实现

ITeamFoundationIdentityService.GetPreferredEmailAddress(TeamFoundationRequestContext, Guid, Boolean)

.NET Framework 安全性

请参阅

参考

TeamFoundationIdentityService 类

GetPreferredEmailAddress 重载

Microsoft.TeamFoundation.Server.Core 命名空间