Muokkaa

Jaa


VsaEngineClass Class

Definition

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public ref class VsaEngineClass : Microsoft::Vsa::IVsaEngine, Microsoft_VsaVb::VsaEngine
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("24800CD0-0F4E-4DF7-9F69-3C6903C89224")]
public class VsaEngineClass : Microsoft.Vsa.IVsaEngine, Microsoft_VsaVb.VsaEngine
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("A138CF39-2CAE-42C2-ADB3-022658D79F2F")]
public class VsaEngineClass : Microsoft.Vsa.IVsaEngine, Microsoft_VsaVb.VsaEngine
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("24800CD0-0F4E-4DF7-9F69-3C6903C89224")>]
type VsaEngineClass = class
    interface IVsaEngine
    interface VsaEngine
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("A138CF39-2CAE-42C2-ADB3-022658D79F2F")>]
type VsaEngineClass = class
    interface IVsaEngine
    interface VsaEngine
Public Class VsaEngineClass
Implements IVsaEngine, VsaEngine
Inheritance
VsaEngineClass
Attributes
Implements

Constructors

VsaEngineClass()

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the VsaEngineClass class.

Properties

Assembly

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Evidence

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the evidence for the purpose of validating the current object's identity.

GenerateDebugInfo

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a value that indicates whether the script engine produces debug information when the Compile() method is called.

IsCompiled

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets a value that indicates whether the script engine is set to produce debug information when the Compile() method is called.

IsDirty

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets a value that indicates whether the script engine's source state has changed since the last save operation, or since the script engine was originally loaded.

IsRunning

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Items

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the IVsaItems collection of IVsaItem objects, which represent all items added to the script engine using the CreateItem method, including code items, reference items, and global items.

Language

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the non-localized name of the programming language supported by the script engine.

LCID

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Name

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the display name of the script engine that is used primarily for identifying individual script engines to users in a hosted environment.

RootMoniker

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a script engine's root moniker.

RootNamespace

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the root namespace used by the script engine.

Site

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the host-implemented IVsaSite object that is used by the script engine to communicate with the host.

Version

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Methods

Close()

This API supports the product infrastructure and is not intended to be used directly from your code.

Closes the script engine and releases all resources. If the script engine is currently running, the Reset() method is called first.

Compile()

This API supports the product infrastructure and is not intended to be used directly from your code.

Causes the script engine to compile the existing source state.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetOption(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets implementation-specific options for a script engine.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitNew()

This API supports the product infrastructure and is not intended to be used directly from your code.

Provides a notification that the initialization phase is complete and that the script engine is prepared for the addition of VsaEngineClass objects.

IsValidIdentifier(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Checks whether the supplied identifier is valid for the script engine.

LoadSourceState(IVsaPersistSite)

This API supports the product infrastructure and is not intended to be used directly from your code.

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Reset()

This API supports the product infrastructure and is not intended to be used directly from your code.

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

RevokeCache()

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Run()

This API supports the product infrastructure and is not intended to be used directly from your code.

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

SaveCompiledState(Byte[], Byte[])

This API supports the product infrastructure and is not intended to be used directly from your code.

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

SaveSourceState(IVsaPersistSite)

This API supports the product infrastructure and is not intended to be used directly from your code.

Directs the script engine to persist its source state to the specified IVsaPersistSite object.

SetOption(String, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

Sets implementation-specific options for a script engine.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to