JSRuntimeContext.Current property
Gets the current runtime context.
C#
public static JSRuntimeContext Current { get; }
Exceptions
exception | condition |
---|---|
InvalidOperationException | No runtime context was set for the current thread. |
See Also
- class JSRuntimeContext
- namespace Microsoft.JavaScript.NodeApi.Interop