ResourceMonitoringOptions.PublishingWindow 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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於 。