IVsaEngine 인터페이스
참고: 이 API는 이제 사용되지 않습니다.
스크립트 엔진이 지원해야 할 메서드와 속성을 정의하고 스크립트 엔진에 프로그래밍 방식으로 액세스할 수 있도록 합니다.
네임스페이스: Microsoft.Vsa
어셈블리: Microsoft.Vsa(Microsoft.Vsa.dll)
구문
‘선언
<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("E0C0FFE1-7eea-4ee2-b7e4-0080c7eb0b74")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsaEngine
[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("E0C0FFE1-7eea-4ee2-b7e4-0080c7eb0b74")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaEngine
[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"E0C0FFE1-7eea-4ee2-b7e4-0080c7eb0b74")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsaEngine
[<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("E0C0FFE1-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaEngine = interface end
public interface IVsaEngine
IVsaEngine 형식에서는 다음과 같은 멤버를 노출합니다.
속성
이름 | 설명 | |
---|---|---|
Assembly | Run 메서드에서 생성된 실행 중인 어셈블리에 대한 참조를 가져옵니다. | |
Evidence | 현재 개체의 ID를 확인하기 위한 증명 정보를 제공합니다. | |
GenerateDebugInfo | Compile 메서드가 호출될 때 스크립트 엔진이 디버그 정보를 생성하는지 여부를 의미하는 부울 값을 설정하거나 가져옵니다. | |
IsCompiled | ||
IsDirty | 마지막 저장 이후 또는 스크립트 엔진을 처음 로드한 이후 스크립트 엔진 소스 상태가 변경되었는지 알려주는 부울 값을 가져옵니다. | |
IsRunning | 현재 스크립트 엔진이 실행 모드인지 여부를 보고하는 부울 값을 가져옵니다. | |
Items | 코드 항목, 참조 항목 및 전역 항목을 포함하여 CreateItem 메서드를 사용하여 스크립트 엔진에 추가된 모든 항목을 나타내는 IVsaItem 개체의 IVsaItems 컬렉션을 가져옵니다. | |
Language | 스크립트 엔진에서 지원하는 프로그래밍 언어의 지역화되지 않은 이름을 가져옵니다. | |
LCID | 예외 메시지를 보고할 지역 로캘과 언어를 가져오거나 설정합니다. | |
Name | 호스팅된 환경에서 사용자에 대해 개별 스크립트 엔진을 식별하기 위해 주로 사용되는 스크립트 엔진의 표시 이름을 설정하거나 가져옵니다. | |
RootMoniker | 스크립트 엔진의 루트 모니커를 설정하거나 가져옵니다. | |
RootNamespace | 스크립트 엔진이 사용하는 루트 네임스페이스를 설정하거나 가져옵니다. | |
Site | 스크립트 엔진에서 호스트와 통신하는 데 사용되는 호스트가 구현한 IVsaSite 개체를 설정하거나 가져옵니다. | |
Version | 스크립트 엔진이 지원하는 언어 컴파일러의 현재 버전을 Major.Minor.Revision.Build 형식으로 가져옵니다. |
위쪽
메서드
이름 | 설명 | |
---|---|---|
Close | 스크립트 엔진을 닫고 모든 리소스를 해제합니다.스크립트 엔진이 현재 실행 중인 경우 Reset 메서드가 먼저 호출됩니다. | |
Compile | 스크립트 엔진이 기존의 소스 상태를 컴파일하도록 합니다. | |
GetOption | 스크립트 엔진에 대한 구현 관련 옵션을 가져옵니다. | |
InitNew | 초기화 단계가 완료되었으며 스크립트 엔진이 IVsaItem개의 개체를 추가할 준비가 되었음을 알립니다. | |
IsValidIdentifier | 제공된 식별자가 스크립트 엔진에 대해 유효한 지를 검사합니다. | |
LoadSourceState | IVsaPersistSite 인터페이스를 구현하는 호스트에서 제공한 개체가 지정한 대로 스크립트 엔진이 지속성 지점에서 소스 항목을 로드하도록 지시합니다. | |
Reset | 실행 상태에서 스크립트 엔진을 제거하고 자동으로 바인딩된 이벤트 처리기의 연결을 끊습니다. | |
RevokeCache | 루트 모니커에 지정된 대로 스크립트 엔진의 캐시된 어셈블리를 무효화합니다. | |
Run | 스크립트 엔진에서 컴파일된 코드의 실행을 초기화하고 모든 이벤트 처리기를 바인딩합니다. | |
SaveCompiledState | 스크립트 엔진의 컴파일된 상태를 저장하며 디버깅 정보도 선택적으로 저장합니다. | |
SaveSourceState | 스크립트 엔진이 소스 상태를 지정된 IVsaPersistSite 개체로 유지하도록 지시합니다. | |
SetOption | 스크립트 엔진에 대한 구현별 옵션을 설정합니다. |
위쪽