Delen via


CatalogRuleValidationUtility.CheckPropertyConstraints Method

Throws if this resource doesn't have the specified property.

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

Syntax

'Declaration
Public Sub CheckPropertyConstraints ( _
    requestContext As TeamFoundationRequestContext, _
    resource As CatalogResource, _
    constraints As PropertyConstraint() _
)
public void CheckPropertyConstraints(
    TeamFoundationRequestContext requestContext,
    CatalogResource resource,
    PropertyConstraint[] constraints
)
public:
void CheckPropertyConstraints(
    TeamFoundationRequestContext^ requestContext, 
    CatalogResource^ resource, 
    array<PropertyConstraint^>^ constraints
)
member CheckPropertyConstraints : 
        requestContext:TeamFoundationRequestContext * 
        resource:CatalogResource * 
        constraints:PropertyConstraint[] -> unit
public function CheckPropertyConstraints(
    requestContext : TeamFoundationRequestContext, 
    resource : CatalogResource, 
    constraints : PropertyConstraint[]
)

Parameters

.NET Framework Security

See Also

Reference

CatalogRuleValidationUtility Class

Microsoft.TeamFoundation.Server.Core Namespace