Click or drag to resize

ScriptEngineDispose Method

Releases all resources used by the script engine.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntax
public void Dispose()

Implements

IDisposableDispose
Remarks
Call Dispose() when you are finished using the script engine. Dispose() leaves the script engine in an unusable state. After calling Dispose(), you must release all references to the script engine so the garbage collector can reclaim the memory that the script engine was occupying.
See Also