ServiceProvider 클래스

정의

중요

이 API는 CLS 규격이 아닙니다.

통합 서비스 공급자를 제공합니다.

public ref class ServiceProvider sealed : IDisposable, IServiceProvider, Microsoft::VisualStudio::OLE::Interop::IObjectWithSite
[System.CLSCompliant(false)]
public sealed class ServiceProvider : IDisposable, IServiceProvider, Microsoft.VisualStudio.OLE.Interop.IObjectWithSite
[<System.CLSCompliant(false)>]
type ServiceProvider = class
    interface IServiceProvider
    interface IDisposable
    interface IObjectWithSite
Public NotInheritable Class ServiceProvider
Implements IDisposable, IObjectWithSite, IServiceProvider
상속
ServiceProvider
특성
구현

생성자

ServiceProvider(IServiceProvider)

ServiceProvider 개체를 만들고 지정된 인터페이스를 사용하여 서비스를 해결합니다.

메서드

Dispose()

ServiceProvider 개체에서 사용하는 리소스를 모두 해제합니다.

GetService(Guid)

서비스 개체를 가져옵니다.

GetService(Type)

서비스 개체를 가져옵니다.

명시적 인터페이스 구현

IObjectWithSite.GetSite(Guid, IntPtr)

서비스를 해결하는 데 사용되는 현재 사이트 개체를 검색합니다.

IObjectWithSite.SetSite(Object)

서비스를 해결할 사이트 개체를 설정합니다.

적용 대상