VsaEngine.CreateEngineAndGetGlobalScopeWithType(Boolean, String[], RuntimeTypeHandle) 方法

定义

创建引擎,并返回具有调用类型句柄的全局范围。Creates the engine and returns the global scope with the calling type handle.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static Microsoft::JScript::GlobalScope ^ CreateEngineAndGetGlobalScopeWithType(bool fast, cli::array <System::String ^> ^ assemblyNames, RuntimeTypeHandle callingTypeHandle);
public static Microsoft.JScript.GlobalScope CreateEngineAndGetGlobalScopeWithType (bool fast, string[] assemblyNames, RuntimeTypeHandle callingTypeHandle);
static member CreateEngineAndGetGlobalScopeWithType : bool * string[] * RuntimeTypeHandle -> Microsoft.JScript.GlobalScope
Public Shared Function CreateEngineAndGetGlobalScopeWithType (fast As Boolean, assemblyNames As String(), callingTypeHandle As RuntimeTypeHandle) As GlobalScope

参数

fast
Boolean

如果为 true,则指示快速模式;否则为 falsetrue to indicate fast mode; otherwise, false.

assemblyNames
String[]

程序集名称的数组。An array of assembly names.

callingTypeHandle
RuntimeTypeHandle

调用类型句柄。The calling type handle.

返回

GlobalScope

全局范围。The global scope.

适用于