ISnapshotProvider 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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() |
已淘汰.
取得系統資源使用率的快照。 |