EventLogWatcher.EventRecordWritten Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
event EventHandler<System::Diagnostics::Eventing::Reader::EventRecordWrittenEventArgs ^> ^ EventRecordWritten;
public event EventHandler<System.Diagnostics.Eventing.Reader.EventRecordWrittenEventArgs> EventRecordWritten;
member this.EventRecordWritten : EventHandler<System.Diagnostics.Eventing.Reader.EventRecordWrittenEventArgs>
Public Custom Event EventRecordWritten As EventHandler(Of EventRecordWrittenEventArgs)
Public Event EventRecordWritten As EventHandler(Of EventRecordWrittenEventArgs)
Event Type
Examples
For example code using this class, see How to: Subscribe to Events in an Event Log.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.