IVsaSite 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 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 interface class IVsaSite
[System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaSite
[System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[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 interface IVsaSite
[<System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaSite = interface
[<System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<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 IVsaSite = interface
Public Interface IVsaSite
- 衍生
- 屬性
方法
GetCompiledState(Byte[], Byte[]) |
已淘汰.
取得指令碼引擎的編譯狀態和 (選擇性) 相關偵錯資訊。 |
GetEventSourceInstance(String, String) |
已淘汰.
取得事件來源的參考,事件來源是先前使用 AddEventSource 方法新增至指令碼引擎。 |
GetGlobalInstance(String) |
已淘汰.
取得全域項目的參考,例如主機提供的應用程式物件。 |
Notify(String, Object) |
已淘汰.
通知主機有關 .NET 指令碼引擎所產生的事件。 |
OnCompilerError(IVsaError) |
已淘汰.
通知主機如何回應指令碼引擎所遇到的編譯器錯誤。 |