ResourceMonitoringOptions.SamplingInterval Propriedade

Definição

Atenção

This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.

Obtém ou define o intervalo em que uma nova amostra de utilização é capturada.

public:
 property TimeSpan SamplingInterval { TimeSpan get(); void set(TimeSpan value); };
[System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public TimeSpan SamplingInterval { get; set; }
public TimeSpan SamplingInterval { get; set; }
[<System.Obsolete("This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.", DiagnosticId="EXTOBS0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
member this.SamplingInterval : TimeSpan with get, set
member this.SamplingInterval : TimeSpan with get, set
Public Property SamplingInterval As TimeSpan

Valor de Propriedade

O valor padrão é 1 segundo.

Atributos

Observações

Este valor deve ser menor ou igual a CollectionWindow.

Aplica-se a