ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8Runtime Class
V8Runtime Constructor
V8Runtime Constructor
V8Runtime(String) Constructor
V8Runtime(V8RuntimeConstraints) Constructor
V8Runtime(V8RuntimeFlags) Constructor
V8Runtime(String, V8RuntimeConstraints) Constructor
V8Runtime(String, V8RuntimeFlags) Constructor
V8Runtime(V8RuntimeConstraints, V8RuntimeFlags) Constructor
V8Runtime(V8RuntimeFlags, Int32) Constructor
V8Runtime(String, V8RuntimeConstraints, V8RuntimeFlags) Constructor
V8Runtime(String, V8RuntimeFlags, Int32) Constructor
V8Runtime(V8RuntimeConstraints, V8RuntimeFlags, Int32) Constructor
V8Runtime(String, V8RuntimeConstraints, V8RuntimeFlags, Int32) Constructor

# V8Runtime(String, V8RuntimeConstraints) Constructor

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.5.0
Syntax
C#
VB
C++
F#
Copy

    public 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 String
  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 V8RuntimeConstraints
  Resource constraints for the instance.

See Also

#### Reference

V8Runtime Class
V8Runtime Overload
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft