Επεξεργασία

Κοινή χρήση μέσω


BufferedWebEventProvider.BufferMode Property

Definition

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

public:
 property System::String ^ BufferMode { System::String ^ get(); };
public string BufferMode { get; }
member this.BufferMode : string
Public ReadOnly Property BufferMode As String

Property Value

The name of the buffering mode.

Examples

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

public string SampleBufferMode
{
    get { return BufferMode; }
}

Public ReadOnly Property SampleBufferMode() As String
   Get
      Return BufferMode
   End Get
 End Property

Remarks

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>  

Applies to