ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8ScriptEngine Class
V8ScriptEngine Properties
CpuProfileSampleInterval Property
EnableRuntimeInterruptPropagation Property
FileNameExtension Property
Global Property
MaxRuntimeHeapSize Property
MaxRuntimeStackUsage Property
RuntimeHeapSizeSampleInterval Property
RuntimeHeapSizeViolationPolicy Property
Script Property
SuppressExtensionMethodEnumeration Property
SuppressInstanceMethodEnumeration Property

# V8ScriptEngine Properties

The V8ScriptEngine type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| AccessContext | Allows script code to access non-host resources. (Inherited from ScriptEngine)
| AllowReflection | Controls whether script code is permitted to use reflection. (Inherited from ScriptEngine)
| ContinuationCallback | Gets or sets a callback that can be used to halt script execution. (Inherited from ScriptEngine)
| CpuProfileSampleInterval | Gets or sets the time interval between automatic CPU profile samples, in microseconds.
| CustomAttributeLoader | Gets or sets the script engine's custom attribute loader. (Inherited from ScriptEngine)
| DefaultAccess | Gets or sets the default script access setting for all members of exposed objects. (Inherited from ScriptEngine)
| DisableDynamicBinding | Enables or disables dynamic method binding. (Inherited from ScriptEngine)
| DisableExtensionMethods | Enables or disables extension method support. (Inherited from ScriptEngine)
| DisableFloatNarrowing | Enables or disables floating point narrowing. (Inherited from ScriptEngine)
| DisableListIndexTypeRestriction | Enables or disables type restriction for array and list elements retrieved by index. (Inherited from ScriptEngine)
| DisableTypeRestriction | Enables or disables type restriction for field, property, and method return values. (Inherited from ScriptEngine)
| DocumentSettings | Gets or sets the script engine's document settings. (Inherited from ScriptEngine)
| EnableAutoHostVariables | Enables or disables automatic host variable tunneling for by-reference arguments to script functions and delegates. (Inherited from ScriptEngine)
| EnableNullResultWrapping | Enables or disables null wrapping for field, property, and method return values. (Inherited from ScriptEngine)
| EnableRuntimeInterruptPropagation | Enables or disables interrupt propagation in the V8 runtime.
| EnforceAnonymousTypeAccess | Enables or disables access restrictions for anonymous types. (Inherited from ScriptEngine)
| ExposeHostObjectStaticMembers | Controls whether host objects provide access to the static members of their exposed types to script code. (Inherited from ScriptEngine)
| FileNameExtension | Gets the script engine's recommended file name extension for script files. (Overrides ScriptEngineFileNameExtension)
| FormatCode | Enables or disables script code formatting. (Inherited from ScriptEngine)
| Global | Allows the host to access script resources. (Overrides ScriptEngineGlobal)
| HostData | Allows the host to attach arbitrary data to the script engine. (Inherited from ScriptEngine)
| MaxRuntimeHeapSize | Gets or sets a soft limit for the size of the V8 runtime's heap.
| MaxRuntimeStackUsage | Gets or sets the maximum amount by which the V8 runtime is permitted to grow the stack during script execution.
| Name | Gets the name associated with the script engine instance. (Inherited from ScriptEngine)
| NullExportValue | Gets or sets the script engine's null export value. (Inherited from ScriptEngine)
| NullImportValue | Gets or sets the script engine's null import value. (Inherited from ScriptEngine)
| RuntimeHeapSizeSampleInterval | Gets or sets the minimum time interval between consecutive heap size samples.
| RuntimeHeapSizeViolationPolicy | Gets or sets the V8 runtime's behavior in response to a violation of the maximum heap size.
| Script | Allows the host to access script resources dynamically. (Overrides ScriptEngineScript)
| SuppressExtensionMethodEnumeration | Enables or disables extension method enumeration.
| SuppressInstanceMethodEnumeration | Enables or disables instance method enumeration.
| UndefinedImportValue | Gets or sets the script engine's undefined import value. (Inherited from ScriptEngine)
| UseReflectionBindFallback | Enables or disables the use of reflection-based method binding as a fallback. (Inherited from ScriptEngine)
| VoidResultValue | Gets or sets the script engine's void result export value. (Inherited from ScriptEngine)

Top
See Also

#### Reference

V8ScriptEngine Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft