ResourceMonitoringOptions.SamplingInterval Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Attenzione
This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.
Ottiene o imposta l'intervallo in cui viene acquisito un nuovo campione di utilizzo.
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
Valore della proprietà
Il valore predefinito è 1 secondo.
- Attributi
Commenti
Questo valore deve essere minore o uguale a CollectionWindow.