WebEventBufferFlushInfo.Events Property

 
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.

Gets the events collection in the current message.

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

public WebBaseEventCollection Events { get; }

Property Value

Type: System.Web.Management.WebBaseEventCollection

The WebBaseEventCollection events contained in the current message.

Due to buffering, several events are usually sent in a single message.

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

private WebBaseEventCollection GetEvents(
    WebEventBufferFlushInfo flushInfo)
{
    return flushInfo.Events;
}

.NET Framework
Available since 2.0
Return to top
Show: