IKeyedServiceProvider 接口  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用密钥和 类型检索服务。
public interface class IKeyedServiceProvider : IServiceProvider
	public interface IKeyedServiceProvider : IServiceProvider
	type IKeyedServiceProvider = interface
    interface IServiceProvider
	Public Interface IKeyedServiceProvider
Implements IServiceProvider
	- 派生
 
- 实现
 
方法
| GetKeyedService(Type, Object) | 
		 获取指定类型的服务对象。  | 
        	
| GetRequiredKeyedService(Type, Object) | 
		 从实现此接口的 IServiceProvider 获取   | 
        	
| GetService(Type) | 
		 获取指定类型的服务对象。 (继承自 IServiceProvider) |