Partager via


CatalogRuleValidationUtility.CheckExclusiveTypePerRootExistence Method

Will throw if this is not the only node of the given type under the provided catalog root path.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Sub CheckExclusiveTypePerRootExistence ( _
    requestContext As TeamFoundationRequestContext, _
    node As CatalogNode, _
    constraints As ExistencePerRootConstraint() _
)
public void CheckExclusiveTypePerRootExistence(
    TeamFoundationRequestContext requestContext,
    CatalogNode node,
    ExistencePerRootConstraint[] constraints
)
public:
void CheckExclusiveTypePerRootExistence(
    TeamFoundationRequestContext^ requestContext, 
    CatalogNode^ node, 
    array<ExistencePerRootConstraint^>^ constraints
)
member CheckExclusiveTypePerRootExistence : 
        requestContext:TeamFoundationRequestContext * 
        node:CatalogNode * 
        constraints:ExistencePerRootConstraint[] -> unit
public function CheckExclusiveTypePerRootExistence(
    requestContext : TeamFoundationRequestContext, 
    node : CatalogNode, 
    constraints : ExistencePerRootConstraint[]
)

Parameters

.NET Framework Security

See Also

Reference

CatalogRuleValidationUtility Class

Microsoft.TeamFoundation.Server.Core Namespace