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)
古い.

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

適用対象