IServiceProvider IServiceProvider IServiceProvider IServiceProvider IServiceProvider IServiceProvider Interface

Definition

Provides access to a service identified by a globally unique identifier (GUID). For more information, see 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
type IServiceProvider = interface
Public Interface IServiceProvider
Derived
Attributes

Methods

QueryService(Guid, Guid, IntPtr) QueryService(Guid, Guid, IntPtr) QueryService(Guid, Guid, IntPtr) QueryService(Guid, Guid, IntPtr) QueryService(Guid, Guid, IntPtr) QueryService(Guid, Guid, IntPtr)

Extension Methods

QueryService(IServiceProvider, Guid) QueryService(IServiceProvider, Guid) QueryService(IServiceProvider, Guid) QueryService(IServiceProvider, Guid) QueryService(IServiceProvider, Guid) QueryService(IServiceProvider, Guid)

Gets a service exposed by a service provider based on its service type.

QueryService<TService>(IServiceProvider) QueryService<TService>(IServiceProvider) QueryService<TService>(IServiceProvider) QueryService<TService>(IServiceProvider) QueryService<TService>(IServiceProvider) QueryService<TService>(IServiceProvider)

Gets a service exposed by a service provider based on its service type.

Applies to