JSReference.Handle property
Gets the value handle, or throws an exception if access from the current thread is invalid.
C#
public napi_ref Handle { get; }
Exceptions
exception | condition |
---|---|
ObjectDisposedException | The reference is disposed. |
JSInvalidThreadAccessException | Access to the reference is not valid on the current thread. |
See Also
- struct napi_ref
- class JSReference
- namespace Microsoft.JavaScript.NodeApi