DependencyResolver.GetService Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: System.Web.Http.Services
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Function GetService ( _
serviceType As Type _
) As Object
public Object GetService(
Type serviceType
)
public:
Object^ GetService(
Type^ serviceType
)
member GetService :
serviceType:Type -> Object
public function GetService(
serviceType : Type
) : Object
Parameters
- serviceType
Type: System.Type
Return Value
Type: System.Object