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

ControllerServices.GetServices Method (Type)

 

Gets the list of service objects for a given service type.

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

override GetServices : 
        serviceType:Type -> IEnumerable<Object>

Parameters

serviceType
Type: System.Type

The type of service.

Return Value

Type: System.Collections.Generic.IEnumerable<Object>

The list of service objects of the specified type, or an empty list if the service is not found.

Return to top
Show:
© 2015 Microsoft