V8Runtime Constructor (String, V8RuntimeConstraints) |
Initializes a new V8 runtime instance with the specified name and resource constraints.
Namespace:
Microsoft.ClearScript.V8
Assembly:
ClearScript.V8 (in ClearScript.V8.dll) Version: 7.2.3
Syntaxpublic V8Runtime(
string name,
V8RuntimeConstraints constraints
)
Public Sub New (
name As String,
constraints As V8RuntimeConstraints
)
public:
V8Runtime(
String^ name,
V8RuntimeConstraints^ constraints
)
new :
name : string *
constraints : V8RuntimeConstraints -> V8Runtime
Parameters
- name
- Type: SystemString
A name to associate with the instance. Currently this name is used only as a label in presentation contexts such as debugger user interfaces. - constraints
- Type: Microsoft.ClearScript.V8V8RuntimeConstraints
Resource constraints for the instance.
See Also