CatalogRuleValidationUtility.WillBeDeleted Method (TeamFoundationRequestContext, CatalogResource, List<String>%)
Returns true if this resource will be deleted by looking at all of its referencing nodes.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function WillBeDeleted ( _
requestContext As TeamFoundationRequestContext, _
resource As CatalogResource, _
<OutAttribute> ByRef finalPaths As List(Of String) _
) As Boolean
public bool WillBeDeleted(
TeamFoundationRequestContext requestContext,
CatalogResource resource,
out List<string> finalPaths
)
public:
bool WillBeDeleted(
TeamFoundationRequestContext^ requestContext,
CatalogResource^ resource,
[OutAttribute] List<String^>^% finalPaths
)
member WillBeDeleted :
requestContext:TeamFoundationRequestContext *
resource:CatalogResource *
finalPaths:List<string> byref -> bool
public function WillBeDeleted(
requestContext : TeamFoundationRequestContext,
resource : CatalogResource,
finalPaths : List<String>
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- resource
Type: Microsoft.TeamFoundation.Server.Core.CatalogResource
- finalPaths
Type: System.Collections.Generic.List<String>%
Return Value
Type: System.Boolean
Returns Boolean.
.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.