RenderTraceListener 类

定义

提供对象摘要基类,该对象作为控件监视,并在页面请求期间渲染。Provides the abstract base class for an object that monitors as controls are rendering during a page request.

public ref class RenderTraceListener abstract
public abstract class RenderTraceListener
type RenderTraceListener = class
Public MustInherit Class RenderTraceListener
继承
RenderTraceListener

构造函数

RenderTraceListener()

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

属性

ListenerFactories

获取为每个请求调用实例化 RenderTraceListener 对象的函数列表。Gets a list of functions that are called to instantiate RenderTraceListener objects for each request.

方法

BeginRendering(TextWriter, Object)

将要呈现一个对象时调用。Called when an object is about to be rendered.

EndRendering(TextWriter, Object)

当对象完成呈现时调用。Called when an object is finished rendering.

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)
Initialize(HttpContext)

初始化侦听器对象。Initializes the listener objects.

MemberwiseClone()

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

(继承自 Object)
SetTraceData(Object, Object, Object)

一个数据对象与将呈现的控件或其他对象关联。Associates a data object with either the controls or other object that will be rendered.

ShareTraceData(Object, Object)

将一个对象的跟踪数据关联到另一个对象。Associates the trace data from one object to another object.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于