WebClient.AllowWriteStreamBuffering 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
获取或设置一个值,该值指示是否对写入到 WebClient 实例的 Internet 资源的数据进行缓冲处理。
public:
property bool AllowWriteStreamBuffering { 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 AllowWriteStreamBuffering { 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.AllowWriteStreamBuffering : bool with get, set
Public Property AllowWriteStreamBuffering As Boolean
属性值
true
允许对写入到 Internet 资源的数据进行缓冲处理;false
禁用缓冲处理。 默认值为 true
。
- 属性
注解
AllowWriteStreamBuffering当 属性为 true
时,数据在内存中缓冲,以便可以更高效地将其写入较大区块的 Internet 资源。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈