BaseVsaEngine 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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.
實作介面 IJSVsaEngine 。
public ref class BaseVsaEngine abstract : Microsoft::JScript::Vsa::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("F8932A50-9127-48B6-B115-2BFDC627CEE3")]
public abstract class BaseVsaEngine : Microsoft.JScript.Vsa.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("F8932A50-9127-48B6-B115-2BFDC627CEE3")>]
type BaseVsaEngine = class
interface IJSVsaEngine
Public MustInherit Class BaseVsaEngine
Implements IJSVsaEngine
- 繼承
-
BaseVsaEngine
- 衍生
- 屬性
- 實作
欄位
| 名稱 | Description |
|---|---|
| applicationPath |
已淘汰.
取得或設定申請路徑。 |
| assemblyVersion |
已淘汰.
取得或設定組裝版本。 |
| compiledRootNamespace |
已淘汰.
取得或設定已編譯的根命名空間。 |
| engineMoniker |
已淘汰.
獲得或設定引擎名稱。 |
| engineName |
已淘汰.
取得或設定引擎名稱。 |
| engineSite |
已淘汰.
取得或設定引擎位置。 |
| errorLocale |
已淘汰.
取得或設定錯誤地點。 |
| executionEvidence |
已淘汰.
取得或設定執行證據。 |
| failedCompilation |
已淘汰.
取得或設定一個值,表示編譯是否失敗。 |
| genDebugInfo |
已淘汰.
取得或設定一個值,指示是否產生除錯資訊。 |
| haveCompiledState |
已淘汰.
取得或設定一個值,指示是否存在已編譯狀態。 |
| isClosed |
已淘汰.
取得或設定一個表示引擎是否關閉的值。 |
| isDebugInfoSupported |
已淘汰.
取得或設定一個值,表示是否支援除錯資訊。 |
| isEngineCompiled |
已淘汰.
取得或設定一個值,表示引擎是否已編譯完成。 |
| isEngineDirty |
已淘汰.
取得或設定一個值,指示該項目目前記憶體中的表示是否與持久化的表示不同。 |
| isEngineInitialized |
已淘汰.
取得或設定一個值,表示引擎是否已初始化。 |
| isEngineRunning |
已淘汰.
會取得或設定一個表示引擎是否運轉的值。 |
| loadedAssembly |
已淘汰.
負責接收或設定已裝載的組件。 |
| nameTable |
已淘汰.
負責或設定名牌。 |
| rootNamespace |
已淘汰.
取得或設定根命名空間。 |
| scriptLanguage |
已淘汰.
取得或設定腳本語言。 |
| startupClass |
已淘汰.
取得或設定啟動類別。 |
| startupInstance |
已淘汰.
取得或設定啟動實例。 |
| vsaItems |
已淘汰.
取得或設定 IVsaItem 物件的集合。 |
屬性
| 名稱 | Description |
|---|---|
| AppDomain |
已淘汰.
取得或設定應用程式域。 |
| ApplicationBase |
已淘汰.
取得或設定應用程式基礎。 |
| Assembly |
已淘汰.
會取得由 Run 方法產生的執行組裝的參考。 |
| Evidence |
已淘汰.
提供證據以驗證當前物件的身份。 |
| GenerateDebugInfo |
已淘汰.
取得或設定一個布林值,表示當呼叫編譯方法時,腳本引擎是否會產生除錯資訊。 |
| IsCompiled |
已淘汰.
會得到一個值,表示該原始碼是否被編譯。 |
| IsDirty |
已淘汰.
取得或設定一個值,指示該項目目前記憶體中的表示是否與持久化的表示不同。 |
| IsRunning |
已淘汰.
會得到一個布林值,報告引擎目前是否處於運轉模式。 |
| Items |
已淘汰.
取得 IJSVsaItem 物件集合,代表所有新增到引擎的項目。 |
| Language |
已淘汰.
取得引擎支援的程式語言名稱。 |
| LCID |
已淘汰.
取得或設定報告異常訊息的地理地點及語言。 |
| Name |
已淘汰.
取得或設定引擎的顯示名稱。 |
| RootMoniker |
已淘汰.
取得或設定腳本引擎的根名稱。 |
| RootNamespace |
已淘汰.
取得或設定引擎使用的根命名空間。 |
| Site |
已淘汰.
取得或設定主機實作的 IJSVsaSite 物件,該物件由引擎用來與主機通訊。 |
| Version |
已淘汰.
取得引擎支援的當前語言編譯器版本,形式為 |
方法
| 名稱 | Description |
|---|---|
| Close() |
已淘汰.
關掉引擎。 |
| Compile() |
已淘汰.
會讓引擎編譯現有的原始碼狀態。 |
| DoClose() |
已淘汰.
關掉引擎。 |
| DoCompile() |
已淘汰.
它會讓腳本引擎編譯現有的原始碼狀態。 |
| DoLoadSourceState(IJSVsaPersistSite) |
已淘汰.
指令引擎載入來源物品。 |
| DoSaveCompiledState(Byte[], Byte[]) |
已淘汰.
儲存已編譯的腳本引擎狀態;可選擇性地,它也會儲存除錯資訊。 |
| DoSaveSourceState(IJSVsaPersistSite) |
已淘汰.
指示腳本引擎將其原始狀態持久化至指定物件。 |
| Equals(Object) |
已淘汰.
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| Error(JSVsaError) |
已淘汰.
回傳錯誤。 |
| GetCustomOption(String) |
已淘汰.
獲得針對引擎實作的專屬選項。 |
| GetHashCode() |
已淘汰.
做為預設哈希函式。 (繼承來源 Object) |
| GetOption(String) |
已淘汰.
獲得針對引擎實作的專屬選項。 |
| GetType() |
已淘汰.
取得目前實例的 Type。 (繼承來源 Object) |
| InitNew() |
已淘汰.
提供初始化階段完成的通知。 |
| IsValidIdentifier(String) |
已淘汰.
檢查所提供的識別碼是否適用於該引擎。 |
| IsValidNamespaceName(String) |
已淘汰.
檢查所提供的命名空間是否適用於引擎。 |
| LoadCompiledState() |
已淘汰.
載入已編譯的狀態。 |
| LoadSourceState(IJSVsaPersistSite) |
已淘汰.
指示引擎從來源項目的持久性點載入,依照主機提供的物件所指定。 |
| MemberwiseClone() |
已淘汰.
建立目前 Object的淺層複本。 (繼承來源 Object) |
| Preconditions(BaseVsaEngine+Pre) |
已淘汰.
設定前置條件旗標。 |
| Reset() |
已淘汰.
移除引擎的運行狀態,並斷開自動綁定的事件處理程序。 |
| ResetCompiledState() |
已淘汰.
重置編譯後的狀態。 |
| RevokeCache() |
已淘汰.
依據引擎根名稱所指定的快取組合語言失效。 |
| Run() |
已淘汰.
啟動引擎中編譯後的程式碼執行,並綁定所有事件處理器。 |
| SaveCompiledState(Byte[], Byte[]) |
已淘汰.
儲存引擎編譯狀態;可選擇性地,它也會儲存除錯資訊。 |
| SaveSourceState(IJSVsaPersistSite) |
已淘汰.
指示引擎持續維持其原始狀態。 |
| SetCustomOption(String, Object) |
已淘汰.
為引擎設定實作特定的選項。 |
| SetOption(String, Object) |
已淘汰.
為引擎設定實作特定的選項。 |
| ToString() |
已淘汰.
傳回表示目前 物件的字串。 (繼承來源 Object) |
| ValidateRootMoniker(String) |
已淘汰.
驗證了根名的正確性。 |