IDependencyScope.GetService Method (Type)
Retrieves a service from the scope.
Namespace: System.Web.Http.Dependencies
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
object GetService(
Type serviceType
)
Object^ GetService(
Type^ serviceType
)
abstract GetService :
serviceType:Type -> Object
Function GetService (
serviceType As Type
) As Object
Parameters
serviceType
Type: System.TypeThe service to be retrieved.
Return Value
Type: System.Object
The retrieved service.
See Also
IDependencyScope Interface
System.Web.Http.Dependencies Namespace
Return to top