Upravit

Sdílet prostřednictvím


WebEventBufferFlushInfo.EventsInBuffer Property

Definition

Gets the number of events in the buffer.

public:
 property int EventsInBuffer { int get(); };
public int EventsInBuffer { get; }
member this.EventsInBuffer : int
Public ReadOnly Property EventsInBuffer As Integer

Property Value

The number of events in the buffer.

Examples

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;
}
Private Function GetEventsInBuffer(ByVal flushInfo _
As WebEventBufferFlushInfo) As Integer
    Return flushInfo.EventsInBuffer
End Function 'GetEventsInBuffer

Remarks

This number is captured at the beginning of the notification.

Applies to