AspNetMemoryMonitor.DefaultLowPhysicalMemoryObserver 屬性

定義

取得或設定預設記憶體不足的觀察者。 設定此屬性會取消訂閱之前已存在的 'default' 觀察者。 只能有一個 'default'。 若要提供額外的觀察者,請使用 Subscribe 方法。

public:
 property IObserver<System::Web::Hosting::LowPhysicalMemoryInfo ^> ^ DefaultLowPhysicalMemoryObserver { IObserver<System::Web::Hosting::LowPhysicalMemoryInfo ^> ^ get(); void set(IObserver<System::Web::Hosting::LowPhysicalMemoryInfo ^> ^ value); };
public IObserver<System.Web.Hosting.LowPhysicalMemoryInfo> DefaultLowPhysicalMemoryObserver { get; set; }
member this.DefaultLowPhysicalMemoryObserver : IObserver<System.Web.Hosting.LowPhysicalMemoryInfo> with get, set
Public Property DefaultLowPhysicalMemoryObserver As IObserver(Of LowPhysicalMemoryInfo)

屬性值

IObserver<LowPhysicalMemoryInfo>

適用於