Export (0) Print
Expand All

EventLogWatcher Members

.NET Framework 3.5

Allows you to subscribe to incoming events. Each time a desired event is published to an event log, the EventRecordWritten event is raised, and the method that handles this event will be executed.

The EventLogWatcher type exposes the following members.

  NameDescription
Public method EventLogWatcher Overloaded. Initializes a new instance of the EventLogWatcher class.
Top

  NameDescription
Public method Dispose Overloaded. Releases the resources used by this object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Enabled Determines whether this object starts delivering events to the event delegate.
Top

  NameDescription
Public event EventRecordWritten 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.
Top

Community Additions

ADD
Show:
© 2014 Microsoft