ResourceMonitoringOptions.MemoryConsumptionRefreshInterval Propriedade
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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 padrão usado para atualizar os valores reportados por "dotnet.process.memory.virtual.utilization" métricas.
public:
property TimeSpan MemoryConsumptionRefreshInterval { 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 MemoryConsumptionRefreshInterval { get; set; }
public TimeSpan MemoryConsumptionRefreshInterval { 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.MemoryConsumptionRefreshInterval : TimeSpan with get, set
member this.MemoryConsumptionRefreshInterval : TimeSpan with get, set
Public Property MemoryConsumptionRefreshInterval As TimeSpan
Valor de Propriedade
O valor padrão é 5 segundos.
- Atributos
Observações
Esta propriedade é específica do Linux e não tem efeito sobre outros sistemas operativos. Este é o intervalo de tempo para um valor métrico obter dados de utilização de recursos do sistema operativo.