Språk

ResourceMonitoringOptions.PublishingWindow Egenskap

Definition

Varning

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

Hämtar eller anger det observationsfönster som används för att beräkna de ResourceUtilization instanser som skickas till utgivare.

public:
 property TimeSpan PublishingWindow { 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 PublishingWindow { get; set; }
public TimeSpan PublishingWindow { 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.PublishingWindow : TimeSpan with get, set
member this.PublishingWindow : TimeSpan with get, set
Public Property PublishingWindow As TimeSpan

Egenskapsvärde

Standardvärdet är 5 sekunder.

Attribut

Kommentarer

Värdet måste vara mindre än eller lika med CollectionWindow.

Gäller för