語言

ResourceMonitoringOptions.PublishingWindow 屬性

定義

警告

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

取得或設定觀察視窗,用來計算推送給發佈商的 ResourceUtilization 實例。

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

屬性值

預設值為 5 秒。

屬性

備註

該值必須小於或等 CollectionWindow於 。

適用於