V8ScriptEngineDispose(Boolean) Method |
Releases the unmanaged resources used by the script engine and optionally releases the managed resources.
Namespace: Microsoft.ClearScript.V8Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax protected override void Dispose(
bool disposing
)
Protected Overrides Sub Dispose (
disposing As Boolean
)
protected:
virtual void Dispose(
bool disposing
) override
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