enum ScriptObjectLifetimeTrackingMode

Determines how is script object lifetime tracked, and when should the native object be destroyed.

Values

NameValueDescription
StrongHandleWithGarbageCollection 0 Script object wrapper will hold a strong handle onto the script object.
StrongHandleWithExplicitDestroy 1 Script object wrapper will hold a strong handle onto the script object.
WeakHandle 2 Script object wrapper will hold a weak handle onto the script object.