IServiceProvider Interface

Definição

Fornece acesso a um serviço identificado por um GUID (identificador global exclusivo). Para obter mais informações, consulte IServiceProvider.

public interface class IServiceProvider
public interface class IServiceProvider
__interface IServiceProvider
[System.Runtime.InteropServices.Guid("6D5140C1-7436-11CE-8034-00AA006009FA")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IServiceProvider
[System.Runtime.InteropServices.Guid("6D5140C1-7436-11CE-8034-00AA006009FA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IServiceProvider
[<System.Runtime.InteropServices.Guid("6D5140C1-7436-11CE-8034-00AA006009FA")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IServiceProvider = interface
[<System.Runtime.InteropServices.Guid("6D5140C1-7436-11CE-8034-00AA006009FA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IServiceProvider = interface
Public Interface IServiceProvider
Derivado
Atributos

Métodos

QueryService(Guid, Guid, IntPtr)

Fornece acesso a um serviço identificado por um GUID (identificador global exclusivo). Para obter mais informações, consulte IServiceProvider.

Métodos de Extensão

QueryService(IServiceProvider, Guid)

Obtém um serviço exposto por um provedor de serviços com base em seu GUID de serviço.

QueryService<TService>(IServiceProvider)

Obtém um serviço exposto por um provedor de serviços com base em seu tipo de serviço.

Aplica-se a