ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8Runtime Class
V8Runtime Methods
Compile Method
Compile(String) Method
Compile(DocumentInfo, String) Method
Compile(String, String) Method
Compile(String, V8CacheKind, Byte[]) Method
Compile(DocumentInfo, String, V8CacheKind, Byte[]) Method
Compile(String, V8CacheKind, Byte[], Boolean) Method
Compile(String, V8CacheKind, Byte[], V8CacheResult) Method
Compile(String, String, V8CacheKind, Byte[]) Method
Compile(DocumentInfo, String, V8CacheKind, Byte[], Boolean) Method
Compile(DocumentInfo, String, V8CacheKind, Byte[], V8CacheResult) Method
Compile(String, String, V8CacheKind, Byte[], Boolean) Method
Compile(String, String, V8CacheKind, Byte[], V8CacheResult) Method

# V8RuntimeCompile Method

Overload List

| Name | Description
--- | --- | ---
| Compile(String) | Creates a compiled script.
| Compile(DocumentInfo, String) | Creates a compiled script with the specified document meta-information.
| Compile(String, String) | Creates a compiled script with an associated document name.
| Compile(String, V8CacheKind, Byte) | Creates a compiled script, generating cache data for accelerated recompilation.
| Compile(DocumentInfo, String, V8CacheKind, Byte) | Creates a compiled script with the specified document meta-information, generating cache data for accelerated recompilation.
| Compile(String, V8CacheKind, Byte, Boolean) | Creates a compiled script, consuming previously generated cache data.
| Compile(String, V8CacheKind, Byte, V8CacheResult) | Creates a compiled script, consuming previously generated cache data and updating it if necessary.
| Compile(String, String, V8CacheKind, Byte) | Creates a compiled script with an associated document name, generating cache data for accelerated recompilation.
| Compile(DocumentInfo, String, V8CacheKind, Byte, Boolean) | Creates a compiled script with the specified document meta-information, consuming previously generated cache data.
| Compile(DocumentInfo, String, V8CacheKind, Byte, V8CacheResult) | Creates a compiled script with the specified document meta-information, consuming previously generated cache data and updating it if necessary.
| Compile(String, String, V8CacheKind, Byte, Boolean) | Creates a compiled script with an associated document name, consuming previously generated cache data.
| Compile(String, String, V8CacheKind, Byte, V8CacheResult) | Creates a compiled script with an associated document name, consuming previously generated cache data and updating it if necessary.

Top
See Also

#### Reference

V8Runtime Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft