AspNetMemoryMonitor.DefaultRecycleLimitObserver AspNetMemoryMonitor.DefaultRecycleLimitObserver AspNetMemoryMonitor.DefaultRecycleLimitObserver AspNetMemoryMonitor.DefaultRecycleLimitObserver Property

定義

取得或設定預設的回收限制觀察者。Gets or sets the default recycle limit observer. 設定此屬性會取消訂閱之前已存在的 'default' 觀察者。Setting this property unsubscribes the 'default' observer that was there before. 只能有一個 'default'。There can only be one 'default.' 若要提供額外的觀察者,請使用 Subscribe 方法。To provide additional observers, use the Subscribe method.

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

屬性值

適用於