IJSVsaEngine Interface

.NET Framework (current version)
 
Note: This API is now obsolete.

Defines the methods and properties that a script engine must support and provides programmatic access to the script engine.

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

[GuidAttribute("8FA2C97B-47E4-4A31-A7F5-FF39D1195CD9")]
[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.")]
[ComVisibleAttribute(true)]
public interface class IJSVsaEngine

NameDescription
System_CAPS_pubpropertyAssembly

Gets a reference to the running assembly generated by Run method.

System_CAPS_pubpropertyEvidence

Provides evidence for the purpose of validating the current object's identity.

System_CAPS_pubpropertyGenerateDebugInfo

Sets or gets a Boolean value that signifies whether the script engine produces debug information when the Compile method is called.

System_CAPS_pubpropertyIsCompiled

Gets or sets a value that indicates whether the source is compiled.

System_CAPS_pubpropertyIsDirty

Gets or sets a value that indicates whether the current in-memory representation of the item differs from the persisted representation.

System_CAPS_pubpropertyIsRunning

Gets a Boolean value that reports whether the script engine is currently in run mode.

System_CAPS_pubpropertyItems

Gets the collection of IJSVsaItem objects, which represent all items added to the script engine.

System_CAPS_pubpropertyLanguage

Gets the name of the programming language supported by the script engine.

System_CAPS_pubpropertyLCID

Gets or sets the geographical locale and language in which to report exception messages.

System_CAPS_pubpropertyName

Sets or gets the display name of the script engine.

System_CAPS_pubpropertyRootMoniker

Sets or gets a script engine's root moniker.

System_CAPS_pubpropertyRootNamespace

Sets or gets the root namespace used by the script engine.

System_CAPS_pubpropertySite

Sets or gets the host-implemented IJSVsaSite object that is used by the script engine to communicate with the host.

System_CAPS_pubpropertyVersion

Gets the current version of the language compiler supported by the script engine, in the form Major.Minor.Revision.Build.

NameDescription
System_CAPS_pubmethodClose()

Closes the engine.

System_CAPS_pubmethodCompile()

Causes the engine to compile the existing source state.

System_CAPS_pubmethodGetOption(String^)

Gets implementation-specific options for the engine.

System_CAPS_pubmethodInitNew()

Provides a notification that the initialization phase is complete.

System_CAPS_pubmethodIsValidIdentifier(String^)

Checks whether the supplied identifier is valid for the engine.

System_CAPS_pubmethodLoadSourceState(IJSVsaPersistSite^)

Directs the engine to load source items from their point of persistence, as specified by the host-provided object.

System_CAPS_pubmethodReset()

Removes the script engine from the running state and disconnects automatically bound event handlers.

System_CAPS_pubmethodRevokeCache()

Invalidates the cached assembly for the engine, as specified by its root moniker.

System_CAPS_pubmethodRun()

Initiates execution of compiled code in the script engine and binds all event handlers.

System_CAPS_pubmethodSaveCompiledState(array<Byte>^%, array<Byte>^%)

Saves the compiled state of the script engine; optionally, it also saves debugging information.

System_CAPS_pubmethodSaveSourceState(IJSVsaPersistSite^)

Directs the script engine to persist its source state.

System_CAPS_pubmethodSetOption(String^, Object^)

Sets implementation-specific options for a script engine.

.NET Framework
Available since 4.0
Return to top
Show: