ResourceUtilizationHealthCheckOptions.SamplingWindow Propriété

Définition

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

S’applique à