ISecurityService.CreateSecurityNamespace 方法

创建基于所提供的信息的 SecurityNamespace。

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

语法

声明
Function CreateSecurityNamespace ( _
    description As SecurityNamespaceDescription _
) As SecurityNamespace
SecurityNamespace CreateSecurityNamespace(
    SecurityNamespaceDescription description
)

参数

返回值

类型:Microsoft.TeamFoundation.Framework.Client.SecurityNamespace

异常

例外 条件
InvalidSecurityNamespaceDescriptionException

引发由于某种原因,如果 SecurityNamespaceDescription 没有通过验证。

SecurityNamespaceAlreadyExistsException

引发,如果 SecurityNamespace 已经存在与传递的图例的 ID。

.NET Framework 安全性

请参阅

参考

ISecurityService 接口

Microsoft.TeamFoundation.Framework.Client 命名空间