ResourceMonitoringOptions.CollectionWindow 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 a janela de tempo máxima para a qual a utilização pode ser solicitada.

public:
 property TimeSpan CollectionWindow { 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 CollectionWindow { get; set; }
public TimeSpan CollectionWindow { 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.CollectionWindow : TimeSpan with get, set
member this.CollectionWindow : TimeSpan with get, set
Public Property CollectionWindow As TimeSpan

Valor de Propriedade

O valor padrão é 5 segundos.

Atributos

Observações

Este valor representa o tempo total durante o qual o monitor de recursos acompanha a informação de utilização do sistema.

Aplica-se a