BufferModeSettings.RegularFlushInterval Propriedade

Definição

Obtém ou define o intervalo de tempo entre os flushs do buffer.

public:
 property TimeSpan RegularFlushInterval { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))]
[System.Configuration.ConfigurationProperty("regularFlushInterval", DefaultValue="00:00:01", IsRequired=true)]
[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")]
public TimeSpan RegularFlushInterval { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))>]
[<System.Configuration.ConfigurationProperty("regularFlushInterval", DefaultValue="00:00:01", IsRequired=true)>]
[<System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")>]
member this.RegularFlushInterval : TimeSpan with get, set
Public Property RegularFlushInterval As TimeSpan

Valor de Propriedade

O tempo normal entre as descargas de tampão.

Atributos

Exemplos

O seguinte exemplo de código mostra como usar a MaxBufferSize propriedade. Este exemplo de código faz parte de um exemplo maior fornecido para a HealthMonitoringSection classe.

bufferModeSetting.RegularFlushInterval = TimeSpan.MaxValue;
bufferModeSetting.RegularFlushInterval = TimeSpan.MaxValue

Observações

Esta propriedade deve ter um valor superior a zero. O valor pode ser tornado infinito definindo-o para MaxValue ticks. Valores inválidos podem causar uma exceção quando a secção de configuração é guardada.

O valor padrão varia consoante o fornecedor. Os BufferModeSettings objetos da BufferModes coleção são referidos pelo nome pelos fornecedores da Providers coleção.

Aplica-se a

Ver também