RecycleLimitObserver 类

定义

一个观察程序,用于实现 ASP.NET 对由应用程序的回收限制监视器引发的 RecycleLimitInfo 事件的默认反应。An observer that implements ASP.NET's default reaction to RecycleLimitInfo events raised by the application's recycle limit monitor.

public ref class RecycleLimitObserver : IObserver<System::Web::Hosting::RecycleLimitInfo ^>
public class RecycleLimitObserver : IObserver<System.Web.Hosting.RecycleLimitInfo>
type RecycleLimitObserver = class
    interface IObserver<RecycleLimitInfo>
Public Class RecycleLimitObserver
Implements IObserver(Of RecycleLimitInfo)
继承
RecycleLimitObserver
实现

构造函数

RecycleLimitObserver()

初始化 RecycleLimitObserver 类的新实例。Initializes a new instance of the RecycleLimitObserver class.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
OnCompleted()

RecycleLimitObserver 类中没有效果。Has no effect in the RecycleLimitObserver class.

OnError(Exception)

RecycleLimitObserver 类中没有效果。Has no effect in the RecycleLimitObserver class.

OnNext(RecycleLimitInfo)

向观察者提供新数据。Provides the observer with new data.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于