AspNetMemoryMonitor Class

 

ASP.NET default implementation of memory monitor.

Namespace:   System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

System::Object
  System.Web.Hosting::AspNetMemoryMonitor

public ref class AspNetMemoryMonitor sealed : IApplicationMonitor, 
	IDisposable, IObservable<RecycleLimitInfo^>, IObservable<LowPhysicalMemoryInfo^>

NameDescription
System_CAPS_pubpropertyDefaultLowPhysicalMemoryObserver

Gets or sets the default low-memory observer. Setting this property unsubscribes the 'default' observer that was there before. There can only be one 'default.' To provide additional observers, use the Subscribe method.

System_CAPS_pubpropertyDefaultRecycleLimitObserver

Gets or sets the default recycle limit observer. Setting this property unsubscribes the 'default' observer that was there before. There can only be one 'default.' To provide additional observers, use the Subscribe method.

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the memory monitor.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodStart()

Start monitoring and firing notifications.

System_CAPS_pubmethodStop()

Stop monitoring and firing notifications.

System_CAPS_pubmethodSubscribe(IObserver<LowPhysicalMemoryInfo^>^)

Subscribes a low-memory observer in addition to the default low-memory observer.

System_CAPS_pubmethodSubscribe(IObserver<RecycleLimitInfo^>^)

Subscribes a recycle limit observer in addition to the default recycle limit observer.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 4.7

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: