HttpResponse(TextWriter) HttpResponse(TextWriter) HttpResponse(TextWriter) HttpResponse(TextWriter) Constructor

定义

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

public:
 HttpResponse(System::IO::TextWriter ^ writer);
public HttpResponse (System.IO.TextWriter writer);
new System.Web.HttpResponse : System.IO.TextWriter -> System.Web.HttpResponse
Public Sub New (writer As TextWriter)

参数

writer
TextWriter TextWriter TextWriter TextWriter

实现自定义 HTTP 输出的 TextWriter 对象。A TextWriter object that enables custom HTTP output.

注解

此成员支持 .NET Framework 结构,不能在代码中直接使用。This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

HttpResponse类的方法和属性通过 ASP.NET 中的内部Response对象公开。The methods and properties of the HttpResponse class are exposed through the intrinsic Response object in ASP.NET.

适用于