ResourceMonitoringOptions.SamplingInterval プロパティ

定義

注意事項

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

新しい使用率サンプルをキャプチャする間隔を取得または設定します。

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

プロパティ値

既定値は 1 秒です。

属性

注釈

この数は CollectionWindow 以下でなければなりません。

適用対象