TfsHostTypeConstraint.IRouteConstraint.Match 方法
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Private Function Match ( _
httpContext As HttpContextBase, _
route As Route, _
parameterName As String, _
values As RouteValueDictionary, _
routeDirection As RouteDirection _
) As Boolean Implements IRouteConstraint.Match
bool IRouteConstraint.Match(
HttpContextBase httpContext,
Route route,
string parameterName,
RouteValueDictionary values,
RouteDirection routeDirection
)
參數
- httpContext
型別:System.Web.HttpContextBase
- route
型別:System.Web.Routing.Route
- parameterName
型別:System.String
- values
型別:System.Web.Routing.RouteValueDictionary
- routeDirection
型別:System.Web.Routing.RouteDirection
傳回值
實作
IRouteConstraint.Match(HttpContextBase, Route, String, RouteValueDictionary, RouteDirection)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。