CatalogRuleValidationUtility.ResourceDeletedOrMovedOutOfScope Method
Checks to see if a resource has been deleted or moved outside of the provided scope.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function ResourceDeletedOrMovedOutOfScope ( _
requestContext As TeamFoundationRequestContext, _
pathScopes As List(Of String), _
recurse As Boolean, _
duplicateResource As CatalogResource _
) As Boolean
public bool ResourceDeletedOrMovedOutOfScope(
TeamFoundationRequestContext requestContext,
List<string> pathScopes,
bool recurse,
CatalogResource duplicateResource
)
public:
bool ResourceDeletedOrMovedOutOfScope(
TeamFoundationRequestContext^ requestContext,
List<String^>^ pathScopes,
bool recurse,
CatalogResource^ duplicateResource
)
member ResourceDeletedOrMovedOutOfScope :
requestContext:TeamFoundationRequestContext *
pathScopes:List<string> *
recurse:bool *
duplicateResource:CatalogResource -> bool
public function ResourceDeletedOrMovedOutOfScope(
requestContext : TeamFoundationRequestContext,
pathScopes : List<String>,
recurse : boolean,
duplicateResource : CatalogResource
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- pathScopes
Type: System.Collections.Generic.List<String>
- recurse
Type: System.Boolean
- duplicateResource
Type: Microsoft.TeamFoundation.Server.Core.CatalogResource
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.