ApplicationMonitors.MemoryMonitor 屬性

定義

取得或設定記憶體監視器。Gets or sets a memory monitor. 設定此屬性 (就算為 null) 將會停止並處置所有先前已指派的監視器。Setting this property (even null) will stop and dispose any previously assigned monitor. 如需預設實作,請參閱 AspNetMemoryMonitorFor the default implementation see AspNetMemoryMonitor.

public:
 property System::Web::Hosting::IApplicationMonitor ^ MemoryMonitor { System::Web::Hosting::IApplicationMonitor ^ get(); void set(System::Web::Hosting::IApplicationMonitor ^ value); };
public System.Web.Hosting.IApplicationMonitor MemoryMonitor { get; set; }
member this.MemoryMonitor : System.Web.Hosting.IApplicationMonitor with get, set
Public Property MemoryMonitor As IApplicationMonitor

屬性值

IApplicationMonitor

適用於