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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- constraints
Type: array<Microsoft.TeamFoundation.Server.Core.ExistencePerRootConstraint[]
.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.