Partager via


VersionedApiResourceConstraint.Match Method

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

Syntax

'Declaration
Public Function Match ( _
    request As HttpRequestMessage, _
    route As IHttpRoute, _
    parameterName As String, _
    values As IDictionary(Of String, Object), _
    routeDirection As HttpRouteDirection _
) As Boolean
public bool Match(
    HttpRequestMessage request,
    IHttpRoute route,
    string parameterName,
    IDictionary<string, Object> values,
    HttpRouteDirection routeDirection
)
public:
virtual bool Match(
    HttpRequestMessage^ request, 
    IHttpRoute^ route, 
    String^ parameterName, 
    IDictionary<String^, Object^>^ values, 
    HttpRouteDirection routeDirection
) sealed
abstract Match : 
        request:HttpRequestMessage * 
        route:IHttpRoute * 
        parameterName:string * 
        values:IDictionary<string, Object> * 
        routeDirection:HttpRouteDirection -> bool  
override Match : 
        request:HttpRequestMessage * 
        route:IHttpRoute * 
        parameterName:string * 
        values:IDictionary<string, Object> * 
        routeDirection:HttpRouteDirection -> bool
public final function Match(
    request : HttpRequestMessage, 
    route : IHttpRoute, 
    parameterName : String, 
    values : IDictionary<String, Object>, 
    routeDirection : HttpRouteDirection
) : boolean

Parameters

Return Value

Type: System.Boolean

Implements

IHttpRouteConstraint.Match(HttpRequestMessage, IHttpRoute, String, IDictionary<String, Object>, HttpRouteDirection)

.NET Framework Security

See Also

Reference

VersionedApiResourceConstraint Class

Microsoft.TeamFoundation.Framework.Server Namespace