Edit

Share via


IHostEnvironmentStatistics Interface

Definition

Caution

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

Functionality for accessing statistics relating to the hosting environment.

C#
public interface IHostEnvironmentStatistics
C#
[System.Obsolete("This functionality will be removed, use IEnvironmentStatisticsProvider.GetEnvironmentStatistics instead.")]
public interface IHostEnvironmentStatistics
Derived
Attributes

Properties

AvailableMemory

Gets the total memory available for allocation on the host in bytes.

CpuUsage

Gets the host CPU usage from 0.0-100.0.

TotalPhysicalMemory

Gets the total physical memory on the host in bytes.

Applies to

Product Versions (Obsolete)
.NET Orleans 3.4.5, 3.6.0, 7.0.0, 8.0.0 (8.1.0, 8.2.0, 9.0.0)