共用方式為


IHostEnvironmentStatistics 介面

定義

警告

This functionality will be removed, use IEnvironmentStatisticsProvider.GetEnvironmentStatistics instead.

存取與裝載環境相關的統計數據的功能。

public interface IHostEnvironmentStatistics
[System.Obsolete("This functionality will be removed, use IEnvironmentStatisticsProvider.GetEnvironmentStatistics instead.")]
public interface IHostEnvironmentStatistics
type IHostEnvironmentStatistics = interface
[<System.Obsolete("This functionality will be removed, use IEnvironmentStatisticsProvider.GetEnvironmentStatistics instead.")>]
type IHostEnvironmentStatistics = interface
Public Interface IHostEnvironmentStatistics
衍生
屬性

屬性

AvailableMemory
已淘汰.

取得主機上可用位元組配置的總記憶體。

CpuUsage
已淘汰.

從 0.0-100.0 取得主機 CPU 使用量。

TotalPhysicalMemory
已淘汰.

取得主機上的實體記憶體總數,以位元組為單位。

適用於