IVsaEngine 인터페이스

정의

주의

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.

스크립트 엔진이 지원해야 하는 메서드와 속성을 정의하고 스크립트 엔진에 프로그래밍 방식으로 액세스할 수 있도록 합니다.

public interface class IVsaEngine
[System.Runtime.InteropServices.Guid("E0C0FFE1-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaEngine
[System.Runtime.InteropServices.Guid("E0C0FFE1-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("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.")]
public interface IVsaEngine
[<System.Runtime.InteropServices.Guid("E0C0FFE1-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaEngine = interface
[<System.Runtime.InteropServices.Guid("E0C0FFE1-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("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.")>]
type IVsaEngine = interface
Public Interface IVsaEngine
파생
특성

속성

Name Description
Assembly
사용되지 않음.

메서드에서 생성된 실행 중인 어셈블리에 대한 참조를 Run() 가져옵니다.

Evidence
사용되지 않음.

현재 개체의 ID 유효성을 검사하기 위한 증거를 제공합니다.

GenerateDebugInfo
사용되지 않음.

메서드를 호출할 때 Compile() 스크립트 엔진이 디버그 정보를 생성하는지 여부를 나타내는 부울 값을 가져오거나 설정합니다.

IsCompiled
사용되지 않음.

메서드를 호출할 때 Compile() 스크립트 엔진이 디버그 정보를 생성하도록 설정되어 있는지 여부를 나타내는 값을 가져옵니다.

IsDirty
사용되지 않음.

마지막 저장 작업 이후 또는 스크립트 엔진이 원래 로드된 이후 스크립트 엔진의 원본 상태가 변경되었는지 여부를 나타내는 값을 가져옵니다.

IsRunning
사용되지 않음.

스크립트 엔진이 현재 실행 모드에 있는지 여부를 나타내는 값을 가져옵니다.

Items
사용되지 않음.

IVsaItems 코드 항목, 참조 항목 및 전역 항목을 포함하여 CreateItem 메서드를 사용하여 스크립트 엔진에 추가된 모든 항목을 나타내는 개체 컬렉션을 IVsaItem 가져옵니다.

Language
사용되지 않음.

스크립트 엔진에서 지원하는 프로그래밍 언어의 지역화되지 않은 이름을 가져옵니다.

LCID
사용되지 않음.

예외 메시지를 보고할 지리적 로캘 및 언어를 가져오거나 설정합니다.

Name
사용되지 않음.

호스트된 환경에서 사용자에게 개별 스크립트 엔진을 식별하는 데 주로 사용되는 스크립트 엔진의 표시 이름을 가져오거나 설정합니다.

RootMoniker
사용되지 않음.

스크립트 엔진의 루트 모니커를 가져오거나 설정합니다.

RootNamespace
사용되지 않음.

스크립트 엔진에서 사용하는 루트 네임스페이스를 가져오거나 설정합니다.

Site
사용되지 않음.

스크립트 엔진이 호스트와 통신하는 데 사용하는 호스트 구현 IVsaSite 개체를 가져오거나 설정합니다.

Version
사용되지 않음.

스크립트 엔진에서 지원하는 언어 컴파일러의 현재 버전을 Major.Minor.Revision.Build 형식으로 가져옵니다.

메서드

Name Description
Close()
사용되지 않음.

스크립트 엔진을 닫고 모든 리소스를 해제합니다. 스크립트 엔진이 현재 실행 중인 경우 메서드가 Reset() 먼저 호출됩니다.

Compile()
사용되지 않음.

스크립트 엔진이 기존 원본 상태를 컴파일하도록 합니다.

GetOption(String)
사용되지 않음.

스크립트 엔진에 대한 구현별 옵션을 가져옵니다.

InitNew()
사용되지 않음.

초기화 단계가 완료되었으며 개체 추가 IVsaItem 를 위해 스크립트 엔진이 준비되었다는 알림을 제공합니다.

IsValidIdentifier(String)
사용되지 않음.

제공된 식별자가 스크립트 엔진에 유효한지 여부를 확인합니다.

LoadSourceState(IVsaPersistSite)
사용되지 않음.

인터페이스를 구현하는 호스트 제공 개체에 지정된 대로 스크립트 엔진이 지속성 지점에서 원본 항목을 로드하도록 지시합니다 IVsaPersistSite .

Reset()
사용되지 않음.

실행 중인 상태에서 스크립트 엔진을 제거하고 자동으로 바인딩된 이벤트 처리기의 연결을 끊습니다.

RevokeCache()
사용되지 않음.

루트 모니커에 지정된 대로 스크립트 엔진에 대해 캐시된 어셈블리를 무효화합니다.

Run()
사용되지 않음.

스크립트 엔진에서 컴파일된 코드 실행을 시작하고 모든 이벤트 처리기를 바인딩합니다.

SaveCompiledState(Byte[], Byte[])
사용되지 않음.

스크립트 엔진의 컴파일된 상태를 저장합니다. 필요에 따라 디버깅 정보도 저장합니다.

SaveSourceState(IVsaPersistSite)
사용되지 않음.

스크립트 엔진이 원본 상태를 지정된 IVsaPersistSite 개체에 유지하도록 지시합니다.

SetOption(String, Object)
사용되지 않음.

스크립트 엔진에 대한 구현별 옵션을 설정합니다.

적용 대상