WebClient.AllowWriteStreamBuffering 属性

定义

注意

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 资源。

适用于