BufferedWebEventProvider.BufferMode Property

 

Gets a value indicating the buffering mode used by the provider.

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

public string BufferMode { get; }

Property Value

Type: System.String

The name of the buffering mode.

The BufferMode property contains the value defined by the bufferMode attribute in the providers element of the healthMonitoring section.

The following configuration-file excerpt shows how the name of the buffer mode should be defined in the healthMonitoring section.

<bufferModes>
  <add name ="Custom Notification" />
</bufferModes>

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

public string SampleBufferMode
{
    get { return BufferMode; }
}

.NET Framework
Available since 2.0
Return to top
Show: