HttpWebRequest.AllowReadStreamBuffering 属性

定义

获取或设置一个值,该值指示是否对从 Internet 资源接收的数据进行缓冲处理。Gets or sets a value that indicates whether to buffer the received from the Internet resource.

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

属性值

Boolean

如果为 true,则启用对从 Internet 资源接收的数据进行缓冲处理;如果为 false,则禁用缓冲处理。true to enable buffering of the data received from the Internet resource; false to disable buffering. 默认值为 falseThe default is false.

适用于