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
Available since 2.0
Return to top