Safe analog for OnEvent method. In this case memory usage is optimized.
Note: Release all the objects before exit OnEvent event body.Raises on each received event
Syntax
Public Event OnEventSafe As IMEventsEvent_OnEventSafeEventHandler
public event IMEventsEvent_OnEventSafeEventHandler OnEventSafe
public event OnEventSafe: IMEventsEvent_OnEventSafeEventHandler;
public: __event IMEventsEvent_OnEventSafeEventHandler* OnEventSafe
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2