JSValue.Handle property
Gets the value handle, or throws an exception if the value scope is disposed or access from the current thread is invalid.
C#
public napi_value Handle { get; }
Exceptions
exception | condition |
---|---|
JSValueScopeClosedException | The scope has been closed. |
JSInvalidThreadAccessException | The scope is not valid on the current thread. |
See Also
- struct napi_value
- struct JSValue
- namespace Microsoft.JavaScript.NodeApi