HttpResponse(TextWriter) 建構函式

定義

初始化 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

啟用自訂 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.

適用於