IProfileService.Get 方法
检索该配置文件与特定标识 ID.
命名空间: Microsoft.VisualStudio.Services.Profile
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Function Get ( _
requestContext As TeamFoundationRequestContext, _
id As Guid, _
queryContext As ProfileQueryContext _
) As Profile
Profile Get(
TeamFoundationRequestContext requestContext,
Guid id,
ProfileQueryContext queryContext
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- id
类型:System.Guid
配置文件关联标识的 GUID。存在一对一映射。标识和配置文件之间
- queryContext
类型:Microsoft.VisualStudio.Services.Profile.ProfileQueryContext
返回值
类型:Microsoft.VisualStudio.Services.Profile.Profile
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。