We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IVsaSite Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)

[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.")]
public interface IVsaSite

The IVsaSite type exposes the following members.

Public methodGetCompiledStateGets the compiled state of a script engine, and, optionally, associated debugging information.
Public methodGetEventSourceInstanceGets a reference to an event source previously added to a script engine using the AddEventSource method.
Public methodGetGlobalInstanceGets a reference to a global item, such as the host-provided application object.
Public methodNotifyNotifies the host about events generated by the .NET script engine.
Public methodOnCompilerErrorNotifies the host about how to respond to compiler errors encountered by the script engine.