Redigera

Dela via


LowPhysicalMemoryInfo Class

Definition

Encapsulates information about events raised by the application's memory monitor.

public ref class LowPhysicalMemoryInfo sealed
public sealed class LowPhysicalMemoryInfo
type LowPhysicalMemoryInfo = class
Public NotInheritable Class LowPhysicalMemoryInfo
Inheritance
LowPhysicalMemoryInfo

Constructors

LowPhysicalMemoryInfo(Int32, Int32)

Initializes a new instance of the LowPhysicalMemoryInfo class with the specified percent used and percent limit.

Properties

CurrentPercentUsed

Gets the detected percent of total RAM used on the machine. Value may be from 0 to 100.

PercentLimit

Gets the determined used-RAM percentage limit for the machine. Value may be from 0 to 100.

RequestGC

Sets a Boolean value returned to the source of the observable event that may be used to indicate whether the source of the event should induce a Garbage Collection after all observers have processed the event. (The default low memory monitor in ASP.NET ignores this flag and does not induce Garbage Collection.)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to