BufferedWebEventProvider.UseBuffering Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value indicating whether the provider is in buffered mode.

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

public bool UseBuffering { get; }

Property Value

Type: System.Boolean

true if the provider is in buffered mode; otherwise, false. The default is true.

The UseBuffering property contains the value defined by the buffer attribute in the providers element of the healthMonitoring section.

The following code example shows how to use the UseBuffering property.

public bool SampleUseBuffering
    get { return UseBuffering; }

.NET Framework
Available since 2.0
Return to top