ResourceMonitoringOptions.CollectionWindow Vlastnost

Definice

Upozornění

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

Získá nebo nastaví maximální časový interval, pro který je možné požádat o využití.

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

Hodnota vlastnosti

Výchozí hodnota je 5 sekund.

Atributy

Poznámky

Tato hodnota představuje celkovou dobu, po kterou monitor prostředků sleduje informace o využití systému.

Platí pro