Skip to content

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

exceptioncondition
ObjectDisposedExceptionThe reference is disposed.
JSInvalidThreadAccessExceptionAccess to the reference is not valid on the current thread.

See Also

Released under the MIT license