IDependencyScope::GetService Method

Retrieves a service from the scope.

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

Object^ GetService(
	Type^ serviceType
)

Parameters

serviceType
Type: System::Type
The service to be retrieved.

Return Value

Type: System::Object
The retrieved service.
Show: