| ServiceLocatorImplBaseGetService Method |
Namespace: Microsoft.Practices.ServiceLocationAssembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public virtual Object GetService(
Type serviceType
)
Public Overridable Function GetService (
serviceType As Type
) As Object
public:
virtual Object^ GetService(
Type^ serviceType
)
abstract GetService :
serviceType : Type -> Object
override GetService :
serviceType : Type -> Object
Parameters
- serviceType
- Type: SystemType
The requested service.
Return Value
Type:
ObjectThe requested object.
Implements
IServiceProviderGetService(Type)Exceptions See Also