ResourceMonitoringOptions.CollectionWindow Proprietà

Definizione

Attenzione

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

Ottiene o imposta l'intervallo di tempo massimo per il quale è possibile richiedere l'utilizzo.

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

Valore della proprietà

Il valore predefinito è 5 secondi.

Attributi

Commenti

Questo valore rappresenta la quantità totale di tempo per cui il monitoraggio delle risorse tiene traccia delle informazioni sull'utilizzo per il sistema.

Si applica a