IVsaSite 介面
注意:這個 API 現在已經過時。
啟用主機和指令碼引擎之間的通訊。 這個介面是由主機所實作。
命名空間: Microsoft.Vsa
組件: Microsoft.Vsa (在 Microsoft.Vsa.dll 中)
語法
'宣告
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<ObsoleteAttribute("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.")> _
<GuidAttribute("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")> _
Public Interface IVsaSite
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ObsoleteAttribute("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.")]
[GuidAttribute("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
public interface IVsaSite
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ObsoleteAttribute(L"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.")]
[GuidAttribute(L"E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
public interface class IVsaSite
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<ObsoleteAttribute("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.")>]
[<GuidAttribute("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")>]
type IVsaSite = interface end
public interface IVsaSite
IVsaSite 類型會公開下列成員。
方法
名稱 | 描述 | |
---|---|---|
GetCompiledState | 取得指令碼引擎的編譯狀態和 (選擇性) 相關偵錯資訊。 | |
GetEventSourceInstance | 取得事件來源的參考,事件來源是先前使用 AddEventSource 方法加入指令碼引擎。 | |
GetGlobalInstance | 取得全域項目的參考,例如主機提供的應用程式物件。 | |
Notify | 通知主機有關 .NET 指令碼引擎所產生的事件。 | |
OnCompilerError | 通知主機如何回應指令碼引擎所遇到的編譯器錯誤。 |
回頁首