Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Flush Method
Collapse the table of content
Expand the table of content

IisTraceWebEventProvider.Flush Method

Moves the events from the provider's buffer into the event log.

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 buffer are immediately moved from the buffer to the event log. This occurs regardless of how much time has elapsed since the last event was written or how many events are in the buffer. The time of the last written event is reset to the time of the flushing action.

Flush is introduced in the .NET Framework 3.5. For more information, see .NET Framework Versions and Dependencies.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1
Show:
© 2015 Microsoft