VersionedApiResourceConstraint.Match 方法
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
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
)
參數
- request
類型:System.Net.Http.HttpRequestMessage
- route
類型:System.Web.Http.Routing.IHttpRoute
- parameterName
類型:System.String
- values
類型:System.Collections.Generic.IDictionary<String, Object>
- routeDirection
類型:System.Web.Http.Routing.HttpRouteDirection
傳回值
實作
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。