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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- resource
Type: Microsoft.TeamFoundation.Server.Core.CatalogResource
- constraints
Type: array<Microsoft.TeamFoundation.Server.Core.PropertyConstraint[]
.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.