แก้ไข

แชร์ผ่าน


IJSVsaSite Interface

Definition

Caution

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.

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

public interface class IJSVsaSite
[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.")]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("605A62B5-3BA8-49E0-A056-0A6A7A5846A3")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IJSVsaSite
[<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.")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("605A62B5-3BA8-49E0-A056-0A6A7A5846A3")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IJSVsaSite = interface
Public Interface IJSVsaSite
Derived
Attributes

Methods

GetCompiledState(Byte[], Byte[])

Gets the compiled state of a script engine, and, optionally, associated debugging information.

GetEventSourceInstance(String, String)

Gets a reference to an event source previously added to a script engine using the AddEventSource(String, String) method.

GetGlobalInstance(String)

Gets a reference to a global item, such as the host-provided application object.

Notify(String, Object)

Notifies the host about events generated by the .NET script engine.

OnCompilerError(IJSVsaError)

Notifies the host about how to respond to compiler errors encountered by the script engine.

Applies to