ResourceMonitoringOptions.CollectionWindow Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.
Obtient ou définit la fenêtre de temps maximale pour laquelle l’utilisation peut être demandée.
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
Valeur de propriété
La valeur par défaut est de 5 secondes.
- Attributs
Remarques
Cette valeur représente la durée totale pendant laquelle le moniteur de ressources effectue le suivi des informations d’utilisation du système.