ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8RuntimeConstraints Class
V8RuntimeConstraints Constructor
V8RuntimeConstraints Properties
V8RuntimeConstraints Methods

# V8RuntimeConstraints Class

Specifies resource constraints for a V8 runtime.
Inheritance Hierarchy
SystemObject
Microsoft.ClearScript.V8V8RuntimeConstraints
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public sealed class V8RuntimeConstraints

    Public NotInheritable Class V8RuntimeConstraints

    public ref class V8RuntimeConstraints sealed

    [<SealedAttribute>]
    type V8RuntimeConstraints = class end

The V8RuntimeConstraints type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| V8RuntimeConstraints | Initializes a new V8RuntimeConstraints instance.

Top
Properties

| Name | Description
--- | --- | ---
| HeapExpansionMultiplier | Gets or sets the heap expansion multiplier.
| MaxArrayBufferAllocation | Gets or sets the maximum amount of ArrayBuffer memory the runtime may allocate.
| MaxExecutableSize | Obsolete. Gets or sets the maximum size of the executable code heap in MiB.
| MaxNewSpaceSize | Gets or sets the maximum size of the new object heap in MiB.
| MaxOldSpaceSize | Gets or sets the maximum size of the old object heap in MiB.
| MaxYoungSpaceSize | Obsolete. Gets or sets the maximum size of the young object heap in MiB.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
| GetHashCode | Serves as the default hash function. (Inherited from Object)
| GetType | Gets the Type of the current instance. (Inherited from Object)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
| ToString | Returns a string that represents the current object. (Inherited from Object)

Top
See Also

#### Reference

Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft