IProfileService.CreateProfile 方法
创建一个配置文件并返回创建的配置文件。
命名空间: Microsoft.VisualStudio.Services.Profile
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Function CreateProfile ( _
requestContext As TeamFoundationRequestContext, _
createProfileContext As CreateProfileContext _
) As Profile
Profile CreateProfile(
TeamFoundationRequestContext requestContext,
CreateProfileContext createProfileContext
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- createProfileContext
类型:Microsoft.VisualStudio.Services.Profile.CreateProfileContext
返回值
类型:Microsoft.VisualStudio.Services.Profile.Profile
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。