WebEventBufferFlushInfo.EventsInBuffer Property

Gets the number of events in the buffer.

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

public int EventsInBuffer { get; }

Property Value

Type: System.Int32
The number of events in the buffer.

This number is captured at the beginning of the notification.

The following code example shows how to use the EventsInBuffer property. This code example is part of a larger example provided for the BufferedWebEventProvider class.

        private int GetEventsInBuffer(
            WebEventBufferFlushInfo flushInfo)
            return flushInfo.EventsInBuffer;

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft