Click or drag to resize

V8ScriptEngineFlags Enumeration

Defines options for initializing a new V8 JavaScript engine instance.

Namespace:  Microsoft.ClearScript.V8
Assembly:  ClearScript (in ClearScript.dll) Version: 6.0.2.0 (6.0.2.0)
Syntax
[FlagsAttribute]
public enum V8ScriptEngineFlags
Members
  Member nameValueDescription
None0 Specifies that no options are selected.
EnableDebugging1 Specifies that script debugging features are to be enabled.
DisableGlobalMembers2 Specifies that support for GlobalMembers behavior is to be disabled. This option yields a significant performance benefit for global item access.
EnableRemoteDebugging4 Specifies that remote script debugging is to be enabled. This option is ignored if EnableDebugging is not specified.
AwaitDebuggerAndPauseOnStart8 Specifies that the script engine is to wait for a debugger connection and schedule a pause before executing the first line of application script code. This option is ignored if EnableDebugging is not specified.
EnableDateTimeConversion16 Specifies that the script engine is to perform automatic conversion between .NET DateTime objects and JavaScript Date objects. This conversion is bidirectional. A DateTime object constructed from a JavaScript Date object always represents a Coordinated Universal Timestamp (UTC) and has its Kind property set to Utc.
EnableDynamicModuleImports32 Specifies that dynamic module imports are to be enabled. This is an experimental feature and may be removed in a future release.
MarshalUnsafeLongAsBigInt64 Specifies that long integers with values greater than Number.MAX_SAFE_INTEGER or less than Number.MIN_SAFE_INTEGER are to be marshaled as BigInt. This option is ignored if MarshalAllLongAsBigInt is specified.
MarshalAllLongAsBigInt128 Specifies that all long integers are to be marshaled as BigInt.
See Also