Delen via


CatalogRuleValidationUtility.CheckDeleteConstraints Method

Throws if the delete constraints were violated.

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

Syntax

'Declaration
Public Sub CheckDeleteConstraints ( _
    requestContext As TeamFoundationRequestContext, _
    nodeToDelete As CatalogNode, _
    recursive As Boolean, _
    constraints As DeleteConstraints _
)
public void CheckDeleteConstraints(
    TeamFoundationRequestContext requestContext,
    CatalogNode nodeToDelete,
    bool recursive,
    DeleteConstraints constraints
)
public:
void CheckDeleteConstraints(
    TeamFoundationRequestContext^ requestContext, 
    CatalogNode^ nodeToDelete, 
    bool recursive, 
    DeleteConstraints^ constraints
)
member CheckDeleteConstraints : 
        requestContext:TeamFoundationRequestContext * 
        nodeToDelete:CatalogNode * 
        recursive:bool * 
        constraints:DeleteConstraints -> unit
public function CheckDeleteConstraints(
    requestContext : TeamFoundationRequestContext, 
    nodeToDelete : CatalogNode, 
    recursive : boolean, 
    constraints : DeleteConstraints
)

Parameters

.NET Framework Security

See Also

Reference

CatalogRuleValidationUtility Class

Microsoft.TeamFoundation.Server.Core Namespace