Delen via


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

.NET Framework Security

See Also

Reference

CatalogRuleValidationUtility Class

Microsoft.TeamFoundation.Server.Core Namespace