The IServiceProvider Interface contains the following method:
QueryService retrieves the interface pointer for a requested interface on a service.