OleServiceProvider Class

Definition

public ref class OleServiceProvider : IDisposable, IServiceProvider, Microsoft::VisualStudio::OLE::Interop::IServiceProvider
public class OleServiceProvider : IDisposable, IServiceProvider, Microsoft.VisualStudio.OLE.Interop.IServiceProvider
type OleServiceProvider = class
    interface IServiceProvider
    interface IServiceProvider
    interface IDisposable
Public Class OleServiceProvider
Implements IDisposable, IServiceProvider, IServiceProvider
Inheritance
OleServiceProvider
Implements

Constructors

OleServiceProvider()

Methods

AddService(Type, Object, Boolean)
CreateOleServiceProviderWithBasicServices()
Dispose()
Dispose(Boolean)
GetService(Type)
QueryService(Guid, Guid, IntPtr)
RemoveService(Type)

Extension Methods

QueryService(IServiceProvider, Guid)

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

QueryService<TService>(IServiceProvider)

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

Applies to