閱讀英文

共用方式為


WebClient.AllowWriteStreamBuffering 屬性

定義

警告

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

取得或設定值,這個值表示是否要為 WebClient 執行個體緩衝處理寫入網際網路資源的資料。

[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; }

屬性值

若要啟用緩衝處理寫入網際網路資源的資料,則為 true;若要停用緩衝處理,則為 false。 預設為 true

屬性

備註

AllowWriteStreamBuffering當 屬性為 true時,數據會在記憶體中緩衝處理,以便更有效率地以較大的區塊將它寫入因特網資源。

適用於

產品 版本 (已淘汰)
.NET (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9)
.NET Framework (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)