Partager via


IVsaSite Interface

Note: This API is now obsolete.

Enables communication between the host and the script engine. This interface is implemented by the host.

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

Syntax

'Déclaration
<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

The IVsaSite type exposes the following members.

Methods

  Name Description
Public method GetCompiledState Gets the compiled state of a script engine, and, optionally, associated debugging information.
Public method GetEventSourceInstance Gets a reference to an event source previously added to a script engine using the AddEventSource() method.
Public method GetGlobalInstance Gets a reference to a global item, such as the host-provided application object.
Public method Notify Notifies the host about events generated by the .NET script engine.
Public method OnCompilerError Notifies the host about how to respond to compiler errors encountered by the script engine.

Top

See Also

Reference

Microsoft.Vsa Namespace