TraceHandler 类

定义

提供一个同步 HTTP 处理程序,该程序处理跟踪信息请求。Provides a synchronous HTTP handler that processes requests for tracing information.

public ref class TraceHandler : System::Web::IHttpHandler
public class TraceHandler : System.Web.IHttpHandler
type TraceHandler = class
    interface IHttpHandler
Public Class TraceHandler
Implements IHttpHandler
继承
TraceHandler
实现

构造函数

TraceHandler()

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

属性

IsReusable

获取一个值,该值指示其他请求是否可以使用 TraceHandler 实例。Gets a value indicating whether another request can use the TraceHandler instance.

方法

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

处理 HTTP 请求。Processes an HTTP request.

ShowDetails(DataSet)

将当前系统状态和页信息的详细信息写入响应流。Writes the details of the current system state and page information to the response stream.

ShowRequests(ArrayList)
ShowRequests(IList)

向响应流写入最近的 HTTP 请求通信的详细信息。Writes the details of recent HTTP request traffic to the response stream.

ShowVersionDetails()

写入 Web 服务器正在使用的当前公共语言运行时和 ASP.NET 内部版本的详细信息。Writes the details of the current Common Language Runtime and ASP.NET build versions that the Web server is using.

ToString()

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

(继承自 Object)

显式接口实现

IHttpHandler.IsReusable

获取一个值,该值指示其他请求是否可以使用 TraceHandler 实例。Gets a value indicating whether another request can use the TraceHandler instance.

IHttpHandler.ProcessRequest(HttpContext)

处理 HTTP 请求。Processes an HTTP request.

适用于

另请参阅