TfsApiHostTypeConstraint.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
- request
Type: System.Net.Http.HttpRequestMessage
- route
Type: System.Web.Http.Routing.IHttpRoute
- parameterName
Type: System.String
- values
Type: System.Collections.Generic.IDictionary<String, Object>
- routeDirection
Type: System.Web.Http.Routing.HttpRouteDirection
Return Value
Type: System.Boolean
Implements
.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.