CatalogRuleValidationUtility.CheckExclusiveTypePerParentExistence Method
Will throw if this is not the only node of the given type under its parent if the parent is of the supplied type.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub CheckExclusiveTypePerParentExistence ( _
requestContext As TeamFoundationRequestContext, _
node As CatalogNode, _
constraints As ExistencePerParentTypeConstraint() _
)
public void CheckExclusiveTypePerParentExistence(
TeamFoundationRequestContext requestContext,
CatalogNode node,
ExistencePerParentTypeConstraint[] constraints
)
public:
void CheckExclusiveTypePerParentExistence(
TeamFoundationRequestContext^ requestContext,
CatalogNode^ node,
array<ExistencePerParentTypeConstraint^>^ constraints
)
member CheckExclusiveTypePerParentExistence :
requestContext:TeamFoundationRequestContext *
node:CatalogNode *
constraints:ExistencePerParentTypeConstraint[] -> unit
public function CheckExclusiveTypePerParentExistence(
requestContext : TeamFoundationRequestContext,
node : CatalogNode,
constraints : ExistencePerParentTypeConstraint[]
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- constraints
Type: array<Microsoft.TeamFoundation.Server.Core.ExistencePerParentTypeConstraint[]
.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.