BufferedWebEventProvider.BufferMode Propriedade

Definição

Obtém um valor que indica o modo de buffer usado pelo provedor.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

Valor da propriedade

String

O nome do modo de buffer.The name of the buffering mode.

Exemplos

O exemplo de código a seguir mostra como usar a BufferMode propriedade.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

Comentários

A BufferMode propriedade contém o valor definido pelo bufferMode atributo no providers elemento da healthMonitoring seção.The BufferMode property contains the value defined by the bufferMode attribute in the providers element of the healthMonitoring section.

O trecho de arquivo de configuração a seguir mostra como o nome do modo de buffer deve ser definido na healthMonitoring seção.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>  

Aplica-se a