This topic has not yet been rated - Rate this topic

ServicesContainer::GetService Method

Gets a service instance of a specified type.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)
public:
virtual Object^ GetService(
	Type^ serviceType
) abstract

Parameters

serviceType
Type: System::Type

The service type.

Return Value

Type: System::Object
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.