WebEventBufferFlushInfo.Events Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the events collection in the current message.
public:
property System::Web::Management::WebBaseEventCollection ^ Events { System::Web::Management::WebBaseEventCollection ^ get(); };
public System.Web.Management.WebBaseEventCollection Events { get; }
member this.Events : System.Web.Management.WebBaseEventCollection
Public ReadOnly Property Events As WebBaseEventCollection
Property Value
The WebBaseEventCollection events contained in the current message.
Examples
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;
}
Private Function GetEvents( _
ByVal flushInfo As WebEventBufferFlushInfo) _
As WebBaseEventCollection
Return flushInfo.Events
End Function 'GetEvents
Remarks
Due to buffering, several events are usually sent in a single message.