Del via


ResourceUtilizationHealthCheckOptions.SamplingWindow Property

Definition

Caution

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

Gets or sets the time window used for calculating CPU and memory utilization averages.

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; }
[<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
Public Property SamplingWindow As TimeSpan

Property Value

The default value is 5 seconds.

Attributes

Applies to