ResourceMonitoringOptions.MemoryConsumptionRefreshInterval Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Attenzione
This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.
Ottiene o imposta l'intervallo predefinito utilizzato per aggiornare i valori segnalati dalle "dotnet.process.memory.virtual.utilization" metriche.
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
Valore della proprietà
Il valore predefinito è 5 secondi.
- Attributi
Commenti
Questa proprietà è specifica di Linux e non ha alcun effetto su altri sistemi operativi. Questo è l'intervallo di tempo per un valore della metrica per recuperare i dati di utilizzo delle risorse dal sistema operativo.