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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- nodeToDelete
Type: Microsoft.TeamFoundation.Server.Core.CatalogNode
- recursive
Type: System.Boolean
- constraints
Type: Microsoft.TeamFoundation.Server.Core.DeleteConstraints
.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.