語言

ISnapshotProvider 介面

定義

警告

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

由提供者實作的介面,代表底層系統並取得相關資源資料。

public interface class ISnapshotProvider
[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
public interface ISnapshotProvider
[<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
type ISnapshotProvider = interface
Public Interface ISnapshotProvider
屬性

屬性

名稱 Description
Resources
已淘汰.

取得系統定義的 CPU 與記憶體限制的靜態值。

方法

名稱 Description
GetSnapshot()
已淘汰.

取得系統資源使用率的快照。

適用於