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 | スクリプト エンジンで発生したコンパイラ エラーに応答する方法について、ホストに通知します。 |
このページのトップへ