次の方法で共有


ResourceMonitoringOptions.PublishingWindow 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 observation window used to calculate the ResourceUtilization instances pushed to publishers.

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

Property Value

The default value is 5 seconds.

Attributes

Remarks

The value needs to be less than or equal to CollectionWindow.

Applies to