Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServicesContainer.Add Method (Type, Object)

 

Adds a service to the end of services list for the given service type.

Namespace:   System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

No code example is currently available or this language may not be supported.

Parameters

serviceType
Type: System.Type

The service type.

service
Type: System.Object

The service instance.

Return to top
Show:
© 2015 Microsoft