Click or drag to resize
DigitalRuneServiceLocatorImplBaseGetService Method
Implementation of GetService(Type).

Namespace: Microsoft.Practices.ServiceLocation
Assembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public virtual Object GetService(
	Type serviceType
)

Parameters

serviceType
Type: SystemType
The requested service.

Return Value

Type: Object
The requested object.

Implements

IServiceProviderGetService(Type)
Exceptions
ExceptionCondition
ActivationExceptionif there is an error in resolving the service instance.
See Also