Język

ResourceMonitoringOptions.MemoryConsumptionRefreshInterval Właściwość

Definicja

Uwaga

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

Pobiera lub ustawia domyślny interwał używany do odświeżania wartości zgłaszanych przez "dotnet.process.memory.virtual.utilization" metryki.

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

Wartość właściwości

Wartość domyślna to 5 sekund.

Atrybuty

Uwagi

Ta właściwość jest specyficzna dla systemu Linux i nie ma wpływu na inne systemy operacyjne. Jest to przedział czasu dla wartości metryki pobierania danych użycia zasobów z systemu operacyjnego.

Dotyczy