IServiceProvider Interface

Definition

Provides access to a service identified by a globally unique identifier (GUID). For more information, see IServiceProvider.

[System.Runtime.InteropServices.Guid("6D5140C1-7436-11CE-8034-00AA006009FA")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IServiceProvider
Derived
Attributes

Methods

QueryService(Guid, Guid, IntPtr)

Extension Methods

QueryService(IServiceProvider, Guid)

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

QueryService<TService>(IServiceProvider)

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

Applies to