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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。