共用方式為


RestApiResourceProvider.RegisterResources 方法

命名空間:  Microsoft.VisualStudio.Services.Authentication
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Sub RegisterResources ( _
    requestContext As TeamFoundationRequestContext, _
    routes As HttpRouteCollection _
)
public void RegisterResources(
    TeamFoundationRequestContext requestContext,
    HttpRouteCollection routes
)

參數

實作

ITfsApiResourceProvider.RegisterResources(TeamFoundationRequestContext, HttpRouteCollection)

.NET Framework 安全性

請參閱

參考

RestApiResourceProvider 類別

Microsoft.VisualStudio.Services.Authentication 命名空間