BufferModeElement Class [IIS 7 and higher]
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
BufferModeElement
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |
See Also
Reference
BufferModeSettings Class [IIS 7 and higher]
CollectionElement Class [IIS 7 and higher]
HealthMonitoringSection Class [IIS 7 and higher]
BufferedWebEventProviderBufferMode()()()()