Share via


IVsaSite 인터페이스

참고: 이 API는 이제 사용되지 않습니다.

호스트와 스크립트 엔진 간에 통신할 수 있도록 설정합니다. 이 인터페이스는 호스트에서 구현합니다.

네임스페이스:  Microsoft.Vsa
어셈블리:  Microsoft.Vsa(Microsoft.Vsa.dll)

구문

‘선언
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")> _
<GuidAttribute("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")> _
Public Interface IVsaSite
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
[GuidAttribute("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
public interface IVsaSite
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ObsoleteAttribute(L"Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
[GuidAttribute(L"E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
public interface class IVsaSite
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<ObsoleteAttribute("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")>]
[<GuidAttribute("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")>]
type IVsaSite =  interface end
public interface IVsaSite

IVsaSite 형식에서는 다음과 같은 멤버를 노출합니다.

메서드

  이름 설명
Public 메서드 GetCompiledState 스크립트 엔진의 컴파일된 상태를 가져오고, 연결된 디버깅 정보를 선택적으로 가져옵니다.
Public 메서드 GetEventSourceInstance AddEventSource 메서드를 사용하여 이전에 스크립트 엔진에 추가한 이벤트 소스에 대한 참조를 가져옵니다.
Public 메서드 GetGlobalInstance 호스트 제공 응용 프로그램 개체와 같은 전역 항목에 대한 참조를 가져옵니다.
Public 메서드 Notify .NET 스크립트 엔진에서 생성한 이벤트에 대해 호스트에 알립니다.
Public 메서드 OnCompilerError 스크립트 엔진에서 발생한 컴파일러 오류에 응답하는 방법을 호스트에 알립니다.

위쪽

참고 항목

참조

Microsoft.Vsa 네임스페이스