ResourceUtilizationHealthCheckOptions.SamplingWindow 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 utilisée pour calculer les moyennes d’utilisation du processeur et de la mémoire.
public:
property TimeSpan SamplingWindow { 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 SamplingWindow { get; set; }
public TimeSpan SamplingWindow { 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.SamplingWindow : TimeSpan with get, set
member this.SamplingWindow : TimeSpan with get, set
Public Property SamplingWindow As TimeSpan
Valeur de propriété
La valeur par défaut est de 5 secondes.
- Attributs