VsaEngine 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 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.
public ref class VsaEngine : Microsoft::Vsa::IVsaEngine
public class VsaEngine : Microsoft.Vsa.IVsaEngine
[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 class VsaEngine : Microsoft.Vsa.IVsaEngine
type VsaEngine = class
interface IVsaEngine
[<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 VsaEngine = class
interface IVsaEngine
Public Class VsaEngine
Implements IVsaEngine
- 繼承
-
VsaEngine
- 屬性
- 實作
建構函式
VsaEngine() |
已淘汰.
初始化 VsaEngine 類別的新執行個體。 |
欄位
_baseEngine | |
_engineClosed | |
m_Items |
屬性
Assembly |
已淘汰.
取得 Run() 方法產生之執行中組件的參考。 |
Evidence |
已淘汰.
取得或設定辨識項,用以驗證目前物件的身分識別。 |
GenerateDebugInfo |
已淘汰.
取得或設定值,該值表示呼叫編譯方法時,指令碼引擎是否產生偵錯資訊。 |
IsCompiled |
已淘汰.
取得值,這個值表示呼叫 Compile() 方法時,指令碼引擎是否設定為產生偵錯資訊。 |
IsDirty |
已淘汰.
取得值,這個值表示自上次儲存作業後,或自原本載入指令碼引擎後,指令碼引擎的來源狀態是否已變更。 |
IsRunning |
已淘汰.
取得值,這個值表示指令碼引擎目前是否處於執行模式。 |
Items |
已淘汰.
取得 IVsaItem 物件的 IVsaItems 集合,代表使用 CreateItem 方法新增至指令碼引擎的所有項目,包括程式碼項目、參考項目和全域項目。 |
Language |
已淘汰.
取得指令碼引擎所支援程式語言的未當地語系化名稱。 |
LCID |
已淘汰.
取得或設定用來報告例外狀況訊息的地區設定和語言。 |
Name |
已淘汰.
取得或設定指令碼引擎的顯示名稱,這個名稱主要是用來向裝載環境中的使用者識別個別指令碼引擎。 |
RootMoniker |
已淘汰.
設定或取得指令碼引擎的根 Moniker。 |
RootNamespace |
已淘汰.
設定或取得指令碼引擎所使用的根命名空間。 |
Site |
已淘汰.
設定或取得主機實作的 IVsaSite 物件,指令碼引擎使用它來與主機通訊。 |
Version |
已淘汰.
取得指令碼引擎所支援語言編譯器的目前版本,以 Major.Minor.Revision.Build 格式表示。 |
方法
CheckEngine() | |
Close() |
已淘汰.
關閉指令碼引擎並釋放所有資源。 如果指令碼引擎目前正在執行,則會先呼叫 Reset() 方法。 |
Compile() |
已淘汰.
使指令碼引擎編譯現有來源狀態。 |
CreateEngine() | |
Dispose(Boolean) |
已淘汰.
釋放目前 VsaEngine 所使用的所有資源。 |
Equals(Object) |
已淘汰.
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Finalize() |
已淘汰.
允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 |
GetExceptionToThrow(Exception) | |
GetHashCode() |
已淘汰.
做為預設雜湊函式。 (繼承來源 Object) |
GetOption(String) |
已淘汰.
取得此引擎的實作特定選項。 |
GetType() |
已淘汰.
取得目前執行個體的 Type。 (繼承來源 Object) |
InitNew() |
已淘汰.
提供初始化階段已完成的通知。 |
IsValidIdentifier(String) |
已淘汰.
檢查提供的識別項對指令碼引擎是否有效。 |
LoadSourceState(IVsaPersistSite) |
已淘汰.
依照實作 IVsaPersistSite 介面之主機提供的物件所指定,指示指令碼引擎從保存點載入來源項目。 |
MemberwiseClone() |
已淘汰.
建立目前 Object 的淺層複製。 (繼承來源 Object) |
Reset() |
已淘汰.
將指令碼引擎從執行狀態移除,並中斷自動繫結之事件處理常式的連接。 |
RevokeCache() |
已淘汰.
依照根 Moniker 所指定,使引擎的快取組件失效。 |
Run() |
已淘汰.
啟始指令碼引擎中已編譯程式碼的執行,並繫結所有事件處理常式。 |
SaveCompiledState(Byte[], Byte[]) |
已淘汰.
儲存指令碼引擎的編譯狀態,也可選擇性地儲存偵錯資訊。 |
SaveSourceState(IVsaPersistSite) |
已淘汰.
指示指令碼引擎將來源狀態保存至指定的 IVsaPersistSite 物件。 |
SetOption(String, Object) |
已淘汰.
設定指令碼引擎的實作特定選項。 |
ToString() |
已淘汰.
傳回代表目前物件的字串。 (繼承來源 Object) |