SecurityRestApiResourceProvider.RegisterResources Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub RegisterResources ( _
requestContext As TeamFoundationRequestContext, _
routes As HttpRouteCollection _
)
public void RegisterResources(
TeamFoundationRequestContext requestContext,
HttpRouteCollection routes
)
public:
virtual void RegisterResources(
TeamFoundationRequestContext^ requestContext,
HttpRouteCollection^ routes
) sealed
abstract RegisterResources :
requestContext:TeamFoundationRequestContext *
routes:HttpRouteCollection -> unit
override RegisterResources :
requestContext:TeamFoundationRequestContext *
routes:HttpRouteCollection -> unit
public final function RegisterResources(
requestContext : TeamFoundationRequestContext,
routes : HttpRouteCollection
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- routes
Type: System.Web.Http.HttpRouteCollection
Implements
ITfsApiResourceProvider.RegisterResources(TeamFoundationRequestContext, HttpRouteCollection)
.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.