Stop
Deactivates every registered subscription on a message hook so that matching messages are no longer forwarded to their callbacks.
Syntax: hook.Stop
- hook
- required An IGetMessageHook instance.
Subscriptions remain registered after Stop — call Start again to resume delivery without re-registering. Calling Stop on a hook that is already stopped has no effect.
Note
This is the Stop method of the IGetMessageHook interface. The unrelated Stop statement is a language keyword that suspends execution and breaks into the debugger.
See Also
- Start method
- RegisterMessage method
- Stop statement (the language keyword)