Del via


ISnapshotProvider Interface

Definition

Caution

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

An interface to be implemented by a provider that represents an underlying system and gets resources data about it.

public interface class ISnapshotProvider
[System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0008", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
[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 interface ISnapshotProvider
[<System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0008", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
[<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}")>]
type ISnapshotProvider = interface
Public Interface ISnapshotProvider
Attributes

Properties

Resources

Gets the static values of CPU and memory limitations defined by the system.

Methods

GetSnapshot()

Get a snapshot of the resource utilization of the system.

Applies to