IVsaSite Schnittstelle

Definition

Achtung

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.

Ermöglicht die Kommunikation zwischen dem Host und dem Skriptmodul. Diese Schnittstelle wird vom Host implementiert.

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
Abgeleitet
Attribute

Methoden

Name Beschreibung
GetCompiledState(Byte[], Byte[])
Veraltet.

Ruft den kompilierten Zustand eines Skriptmoduls und optional zugeordnete Debuginformationen ab.

GetEventSourceInstance(String, String)
Veraltet.

Ruft einen Verweis auf eine Ereignisquelle ab, die zuvor einem Skriptmodul mithilfe der AddEventSource-Methode hinzugefügt wurde.

GetGlobalInstance(String)
Veraltet.

Ruft einen Verweis auf ein globales Element ab, z. B. das vom Host bereitgestellte Anwendungsobjekt.

Notify(String, Object)
Veraltet.

Benachrichtigt den Host über Ereignisse, die vom skriptmodul .NET generiert werden.

OnCompilerError(IVsaError)
Veraltet.

Benachrichtigt den Host über die Reaktion auf Compilerfehler, die vom Skriptmodul aufgetreten sind.

Gilt für: