This documentation is archived and is not being maintained.
ISecurityService.CreateSecurityNamespace Method
Visual Studio 2013
Creates a SecurityNamespace that is based off of the provided information.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
function CreateSecurityNamespace(
description : SecurityNamespaceDescription
) : SecurityNamespace
Parameters
- description
- Type: Microsoft.TeamFoundation.Framework.Client.SecurityNamespaceDescription
The description to create the namespace from.
| Exception | Condition |
|---|---|
| InvalidSecurityNamespaceDescriptionException | Thrown if the SecurityNamespaceDescription does not pass validation for some reason. |
| SecurityNamespaceAlreadyExistsException | Thrown if a SecurityNamespace already exists with id of the description passed in. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: