ScriptEngineDispose(Boolean) Method |
Releases the unmanaged resources used by the script engine and optionally releases the managed resources.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax protected virtual void Dispose(
bool disposing
)
Protected Overridable Sub Dispose (
disposing As Boolean
)
protected:
virtual void Dispose(
bool disposing
)
abstract Dispose :
disposing : bool -> unit
override Dispose :
disposing : bool -> unit
Parameters
- disposing Boolean
- True to release both managed and unmanaged resources; false to release only unmanaged resources.
Remarks
This method is called by the public
Dispose method and the
Finalize method.
Dispose invokes the
protected
Dispose(Boolean) method with the
disposing
parameter set to
true.
Finalize invokes
Dispose(Boolean) with
disposing set to
false.
See Also