ISecurityService.CreateSecurityNamespace Method
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)
Syntax
'Declaration
Function CreateSecurityNamespace ( _
description As SecurityNamespaceDescription _
) As SecurityNamespace
SecurityNamespace CreateSecurityNamespace(
SecurityNamespaceDescription description
)
SecurityNamespace^ CreateSecurityNamespace(
SecurityNamespaceDescription^ description
)
abstract CreateSecurityNamespace :
description:SecurityNamespaceDescription -> SecurityNamespace
function CreateSecurityNamespace(
description : SecurityNamespaceDescription
) : SecurityNamespace
Parameters
description
Type: Microsoft.TeamFoundation.Framework.Client.SecurityNamespaceDescriptionThe description to create the namespace from.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.SecurityNamespace
Exceptions
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. |
.NET Framework Security
- 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.