NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

EventLog.RemoveOnEntryWritten

Deregisters an event handler from monitoring for the arrival of events.

[Visual Basic]
Overridable Public Sub RemoveOnEntryWritten( _
   ByVal handler As EventLogEventHandler _
)
[C#]
public virtual void RemoveOnEntryWritten(
   EventLogEventHandler handler
);
[C++]
public: virtual void RemoveOnEntryWritten(
   EventLogEventHandler* handler
);
[JScript]
public function RemoveOnEntryWritten(
   handler : EventLogEventHandler
);

Parameters

handler
A delegate that is receiving events.

Remarks

This method stops the delegate from monitoring for events and closes the event handle.

See Also

EventLog Class | EventLog Members | System.Diagnostics Namespace | AddOnEntryWritten