ScriptEngineDispose Method |
Releases all resources used by the script engine.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntaxpublic:
virtual void Dispose() sealed
abstract Dispose : unit -> unit
override Dispose : unit -> unit
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