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.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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

.NET Framework Security

See Also

Reference

CatalogRuleValidationUtility Class

Microsoft.TeamFoundation.Framework.Server Namespace