Share via


IVsaSite-Schnittstelle

Hinweis: Diese API ist mittlerweile veraltet.

Aktiviert die Kommunikation zwischen dem Host und dem Skriptmodul. Diese Schnittstelle wird durch den Host implementiert.

Namespace:  Microsoft.Vsa
Assembly:  Microsoft.Vsa (in Microsoft.Vsa.dll)

Syntax

'Declaration
<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

Der IVsaSite-Typ macht die folgenden Member verfügbar.

Methoden

  Name Beschreibung
Öffentliche Methode GetCompiledState Ruft den kompilierten Zustand eines Skriptmoduls ab, und ruft optional zugeordnete Debuginformationen ab.
Öffentliche Methode GetEventSourceInstance Ruft einen Verweis auf eine Ereignisquelle ab, die zuvor mit der AddEventSource-Methode einem Skriptmodul hinzugefügt wurde.
Öffentliche Methode GetGlobalInstance Ruft einen Verweis auf ein globales Element ab, z. B. auf das vom Host bereitgestellte Anwendungsobjekt.
Öffentliche Methode Notify Benachrichtigt den Host über vom .NET-Skriptmodul generierte Ereignisse.
Öffentliche Methode OnCompilerError Benachrichtigt den Host darüber, wie auf im Skriptmodul aufgetretene Compilerfehler reagiert werden soll.

Zum Seitenanfang

Siehe auch

Referenz

Microsoft.Vsa-Namespace