HttpResponse.Buffer HttpResponse.Buffer HttpResponse.Buffer HttpResponse.Buffer Property

定义

获取或设置一个值,该值指示是否缓冲输出并在处理完整个响应之后发送它。Gets or sets a value indicating whether to buffer output and send it after the complete response is finished processing.

public:
 property bool Buffer { bool get(); void set(bool value); };
public bool Buffer { get; set; }
member this.Buffer : bool with get, set
Public Property Buffer As Boolean

属性值

如果缓冲了发送到客户端的输出,则为 true;否则为 falsetrue if the output to client is buffered; otherwise, false.

注解

属性已不推荐BufferOutput使用属性,只是为了与 ASP 的早期版本兼容而提供。 BufferThe Buffer property has been deprecated in favor of the BufferOutput property and is provided only for compatibility with earlier versions of ASP. 使用 ASP.NET,请BufferOutput使用。With ASP.NET, use BufferOutput.

适用于