Represents the object used to marshal the event handler calls issued as a result of an EventLog change.
[Visual Basic] Public Property SynchronizingObject As ISynchronizeInvoke [C#] public ISynchronizeInvoke SynchronizingObject {get; set;} [C++] public: __property ISynchronizeInvoke* get_SynchronizingObject(); public: __property void set_SynchronizingObject(ISynchronizeInvoke*); [JScript] public function get SynchronizingObject() : ISynchronizeInvoke; public function set SynchronizingObject(ISynchronizeInvoke);
The ISynchronizeInvoke that is used to marshal the event handler calls issued as a result of an System.Diagnostics.EventLog.EntryWritten event on the event log.
Normally this property will be set when the component is placed inside a control or a from, since those components are bound to a specific thread.
EventLog Class | EventLog Members | System.Diagnostics Namespace