BufferModeElement Class

Configures the ASP.NET event-buffering settings for event providers.

Syntax

class BufferModeElement : CollectionElement  

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the BufferModeElement class.

Name Description
MaxBufferSize A required read/write sint32 value that specifies the maximum number of events that can be buffered at the same time. The default is 2147483647. This property must have a value greater than 0. To make the value infinite, set it to MaxValue.
MaxBufferThreads A read/write sint32 value that specifies the maximum number of flushing threads that can be active at the same time. The default is 1. This property must have a value greater than 0. To make the value infinite, set it to MaxValue.
MaxFlushSize A read/write sint32 value that specifies the maximum number of events per flush. The default is 2147483647. This property cannot be greater than MaxBufferSize and must have a value greater than 0. To make the value infinite, set it to MaxValue.
Name A required unique read-only string value that specifies the name of the buffer mode setting. The key property.
RegularFlushInterval A read/write datetime value that specifies the amount of time between buffer flushes. The default is 1 second. This property must have a value greater than 0. To make the value infinite, set it to MaxValue.
UrgentFlushInterval A read/write datetime value that specifies the minimum amount of time that can pass between buffer flushes. This property must have a value greater than 0 and less than or equal to the value of the RegularFlushInterval property.
UrgentFlushThreshold A read/write sint32 value that specifies the number of events that can be buffered before a flush is triggered. The default is 2147483647. This property value cannot be greater than MaxBufferSize.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the BufferModes array property of the BufferModeSettings class.

Inheritance Hierarchy

CollectionElement

BufferModeElement

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

System.Web.Management.BufferedWebEventProvider.BufferMode
BufferModeSettings Class
CollectionElement Class
HealthMonitoringSection Class
CIM_DATETIME