ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptEngine Class
ScriptEngine Methods
AddCOMObject Method
AddCOMType Method
AddHostObject Method
AddHostType Method
AddHostTypes Method
AddRestrictedHostObject Method
CollectGarbage Method
Dispose Method
Evaluate Method
EvaluateDocument Method
Execute Method
ExecuteCommand Method
ExecuteDocument Method
Finalize Method
GetStackTrace Method
Interrupt Method
Invoke Method

# ScriptEngineFinalize Method

Releases unmanaged resources and performs other cleanup operations before the script engine is reclaimed by garbage collection.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    ~Finalize()

    Protected Overrides Sub Finalize

    !Finalize()

    abstract Finalize : unit -> unit
    override Finalize : unit -> unit

Remarks
This method overrides Finalize. Application code should not call this method; an object's Finalize() method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to SuppressFinalize(Object).
See Also

#### Reference

ScriptEngine Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft