JsExecutionScope Class

The scope returned by JsEngine.EnterExecutionScope: the calls made until it is disposed are one entry into JavaScript, bounded by its JsExecutionLimits. Dispose the scopes in the reverse order they were entered, on the thread that entered them.

public sealed class JsExecutionScope : IDisposable
Implements

Properties

NameDescription
LimitsGets the limits of the scope.

Gets the limits of the scope.

public JsExecutionLimits Limits { get; }

Property value

JsExecutionLimits

Methods

NameDescription
Dispose()Ends the scope.

Ends the scope.

public void Dispose()

Exceptions

InvalidOperationException
An inner scope is not disposed yet.