public void SetEventNotificationMode(JvmEventMode mode, JvmEventType eventType, JvmThreadReference eventThread) { jthread eventThreadHandle = (jthread)eventThread; ThrowOnFailure(_rawInterface.SetEventNotificationMode(_env, mode, eventType, eventThreadHandle)); }