WebClient.AllowReadStreamBuffering 属性

定义

注意

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

获取或设置一个值,该值指示是否对从某一 WebClient 实例的 Internet 资源读取的数据进行缓冲处理。

public:
 property bool AllowReadStreamBuffering { bool get(); void set(bool value); };
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public bool AllowReadStreamBuffering { get; set; }
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.AllowReadStreamBuffering : bool with get, set
Public Property AllowReadStreamBuffering As Boolean

属性值

如果为 true,则启用对从 Internet 资源接收的数据进行缓冲处理;如果为 false,则禁用缓冲处理。 默认值为 true

属性

注解

AllowReadStreamBuffering当 属性为 true时,数据在内存中缓冲,以便可供应用读取。

适用于