AspNetMemoryMonitor AspNetMemoryMonitor AspNetMemoryMonitor AspNetMemoryMonitor Class

Definition

ASP.NET default implementation of memory monitor.

public ref class AspNetMemoryMonitor sealed : IDisposable, IObservable<System::Web::Hosting::LowPhysicalMemoryInfo ^>, IObservable<System::Web::Hosting::RecycleLimitInfo ^>, System::Web::Hosting::IApplicationMonitor
public sealed class AspNetMemoryMonitor : IDisposable, IObservable<System.Web.Hosting.LowPhysicalMemoryInfo>, IObservable<System.Web.Hosting.RecycleLimitInfo>, System.Web.Hosting.IApplicationMonitor
type AspNetMemoryMonitor = class
    interface IApplicationMonitor
    interface IDisposable
    interface IObservable<RecycleLimitInfo>
    interface IObservable<LowPhysicalMemoryInfo>
Public NotInheritable Class AspNetMemoryMonitor
Implements IApplicationMonitor, IDisposable, IObservable(Of LowPhysicalMemoryInfo), IObservable(Of RecycleLimitInfo)
Inheritance
AspNetMemoryMonitorAspNetMemoryMonitorAspNetMemoryMonitorAspNetMemoryMonitor
Implements

Properties

DefaultLowPhysicalMemoryObserver DefaultLowPhysicalMemoryObserver DefaultLowPhysicalMemoryObserver DefaultLowPhysicalMemoryObserver

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.

DefaultRecycleLimitObserver DefaultRecycleLimitObserver DefaultRecycleLimitObserver DefaultRecycleLimitObserver

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.

Methods

Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the memory monitor.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Start() Start() Start() Start()

Start monitoring and firing notifications.

Stop() Stop() Stop() Stop()

Stop monitoring and firing notifications.

Subscribe(IObserver<LowPhysicalMemoryInfo>) Subscribe(IObserver<LowPhysicalMemoryInfo>) Subscribe(IObserver<LowPhysicalMemoryInfo>) Subscribe(IObserver<LowPhysicalMemoryInfo>)

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

Subscribe(IObserver<RecycleLimitInfo>) Subscribe(IObserver<RecycleLimitInfo>) Subscribe(IObserver<RecycleLimitInfo>) Subscribe(IObserver<RecycleLimitInfo>)

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

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to