Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpRouteCollection::ValidateConstraint Method (String^, String^, Object^)

 

Validates that a constraint is valid for an IHttpRoute created by a call to the CreateRoute method.

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

protected:
virtual void ValidateConstraint(
	String^ routeTemplate,
	String^ name,
	Object^ constraint
)

Parameters

routeTemplate
Type: System::String^

The route template.

name
Type: System::String^

The constraint name.

constraint
Type: System::Object^

The constraint object.

Return to top
Show: