Allows setting a delegate (event handler method) that gets called every time an event is published that matches the criteria specified in the event query for this object.
Assembly: System.Core (in System.Core.dll)
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.