Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.
Public Interface IServiceProvider
Dim instance As IServiceProvider
public interface IServiceProvider
public interface class IServiceProvider
This interface is implemented by a class or value type that provides a service to other objects.
The GetService method of this interface obtains the object that provides the service.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune