WmiWebEventProvider::Flush Method ()

 

Removes all events from the provider's buffer.

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public:
virtual void Flush() override

When this method is called, all the events in the provider's buffer are immediately removed, regardless of how much time has elapsed since the last write or how many events are in the buffer. The time of the last write is reset to the time of the flushing action. Calling this method when the buffering mechanism is not enabled has no effect.

.NET Framework
Available since 2.0
Return to top
Show: