VsaEngine.Clone(AppDomain) 方法

定义

新建一个在新的应用程序域中运行的相同引擎,该引擎具有相同的编译状态和命名项。Creates a new identical engine that runs in a new application domain, with the same compiled state and named items.

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

public:
 virtual Microsoft::Vsa::IVsaEngine ^ Clone(AppDomain ^ domain);
public:
 virtual Microsoft::JScript::Vsa::IJSVsaEngine ^ Clone(AppDomain ^ domain);
public Microsoft.Vsa.IVsaEngine Clone (AppDomain domain);
public Microsoft.JScript.Vsa.IJSVsaEngine Clone (AppDomain domain);
abstract member Clone : AppDomain -> Microsoft.Vsa.IVsaEngine
override this.Clone : AppDomain -> Microsoft.Vsa.IVsaEngine
abstract member Clone : AppDomain -> Microsoft.JScript.Vsa.IJSVsaEngine
override this.Clone : AppDomain -> Microsoft.JScript.Vsa.IJSVsaEngine
Public Function Clone (domain As AppDomain) As IVsaEngine
Public Function Clone (domain As AppDomain) As IJSVsaEngine

参数

domain
AppDomain

要在其中创建新引擎的应用程序域。The application domain in which to create the new engine.

返回

IVsaEngine
IJSVsaEngine

新引擎。The new engine.

实现

适用于