WmiWebEventProvider.Flush Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes all events from the provider's buffer.

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

public override void Flush()

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: