Share via


IJSVsaEngine インターフェイス

定義

注意事項

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 IJSVsaEngine
[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.")]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("8FA2C97B-47E4-4A31-A7F5-FF39D1195CD9")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IJSVsaEngine
[<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.")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("8FA2C97B-47E4-4A31-A7F5-FF39D1195CD9")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IJSVsaEngine = interface
Public Interface IJSVsaEngine
派生
属性

プロパティ

Assembly

Run メソッドで生成された実行中アセンブリへの参照を取得します。

Evidence

現在のオブジェクトの ID を検証するために、証拠を提供します。

GenerateDebugInfo

Compile メソッドが呼び出されたときにスクリプト エンジンでデバッグ情報を生成するかどうかを示すブール値を取得または設定します。

IsCompiled

ソースがコンパイルされているかどうかを示す値を取得または設定します。

IsDirty

項目の現在のメモリ上の表現が、永続化された表現と異なっているかどうかを示す値を取得または設定します。

IsRunning

スクリプト エンジンが現在実行モードかどうかを報告するブール値を取得します。

Items

スクリプト エンジンに追加されたすべての項目を表す IJSVsaItem オブジェクトのコレクションを取得します。

Language

スクリプト エンジンでサポートされるプログラミング言語の名前を取得します。

LCID

例外メッセージを報告するための地理的なロケールと言語を取得または設定します。

Name

スクリプト エンジンの表示名を取得または設定します。

RootMoniker

スクリプト エンジンのルート モニカーが取得または設定されます。

RootNamespace

スクリプト エンジンで使用されるルート名前空間が取得または設定されます。

Site

スクリプト エンジンによってホストとの通信に使用されるホスト実装の IJSVsaSite オブジェクトを取得または設定します。

Version

スクリプト エンジンがサポートする言語コンパイラの現在のバージョンを Major.Minor.Revision.Build の形式で取得します。

メソッド

Close()

エンジンを閉じます。

Compile()

エンジンで既存のソース状態をコンパイルします。

GetOption(String)

エンジンの実装固有のオプションを取得します。

InitNew()

初期化フェーズが完了したことの通知を提供します。

IsValidIdentifier(String)

提供された識別子が、このエンジンで有効かどうかを確認します。

LoadSourceState(IJSVsaPersistSite)

ホスト提供オブジェクトの指定に従って、永続化のポイントからソース項目を読み込むようにエンジンに指示します。

Reset()

スクリプト エンジンを実行状態から削除し、自動的に関連付けられたイベント ハンドラーを切断します。

RevokeCache()

ルート モニカーで指定されたエンジンの、キャッシュされたアセンブリを無効化します。

Run()

スクリプト エンジンでコンパイルされたコードの実行を開始し、すべてのイベント ハンドラーを関連付けます。

SaveCompiledState(Byte[], Byte[])

スクリプト エンジンのコンパイルされた状態を保存します。オプションで、デバッグ情報も保存します。

SaveSourceState(IJSVsaPersistSite)

そのソースの状態を保持するようにスクリプト エンジンに指示します。

SetOption(String, Object)

スクリプト エンジンの実装固有のオプションを設定します。

適用対象