Język

ResourceMonitoringOptions.CollectionWindow 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 maksymalny przedział czasu, dla którego można zażądać użycia.

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

Wartość właściwości

Wartość domyślna to 5 sekund.

Atrybuty

Uwagi

Ta wartość reprezentuje łączną ilość czasu, dla którego monitor zasobów śledzi informacje o wykorzystaniu systemu.

Dotyczy