Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 4.62 KB

buffermodeelement-class.md

File metadata and controls

57 lines (45 loc) · 4.62 KB
title description ms.date ms.assetid
BufferModeElement Class
Learn how the BufferModeElement class configures the ASP.NET event-buffering settings for event providers.
10/07/2016
d8e3a0d7-bf72-473d-915a-0a7d9f714c23

BufferModeElement Class

Configures the [!INCLUDEvstecasp] 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 - [!INCLUDEiis70] on [!INCLUDEwinvista]
- [!INCLUDEiis75] on [!INCLUDEwin7]
- [!INCLUDEiis80] on [!INCLUDEwin8]
- [!INCLUDEiis100] on [!INCLUDEwin10]
Server - [!INCLUDEiis70] on [!INCLUDEwinsrv2008]
- [!INCLUDEiis75] on [!INCLUDEwinsrv2008r2]
- [!INCLUDEiis80] on [!INCLUDEwinsrv2012]
- [!INCLUDEiis85] on [!INCLUDEwinsrv2012r2]
- [!INCLUDEiis100] on [!INCLUDEwinsrv2016]
Product - [!INCLUDEiis70], [!INCLUDEiis75], [!INCLUDEiis80], [!INCLUDEiis85], [!INCLUDEiis100]
MOF file WebAdministration.mof

See Also

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