ResourceMonitoringOptions.SamplingInterval Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.
Gets or sets the interval at which a new utilization sample is captured.
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
Property Value
The default value is 1 second.
- Attributes
Remarks
This value must be less than or equal to CollectionWindow.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET