TracingJSRuntime.TraceCallback<TDescriptor> method
Traces a callback function, method, getter, or setter, including args and return value. (When tracing is enabled, this method replaces the normal InvokeCallback method.)
C#
public napi_value TraceCallback<TDescriptor>(JSValueScope scope, napi_callback_info cbinfo,
Func<TDescriptor, JSCallbackDescriptor> getCallbackDescriptor)
See Also
- struct napi_value
- class JSValueScope
- struct napi_callback_info
- struct JSCallbackDescriptor
- class TracingJSRuntime
- namespace Microsoft.JavaScript.NodeApi.Runtime