WebClient.AllowWriteStreamBuffering Właściwość

Definicja

Przestroga

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

Pobiera lub ustawia wartość wskazującą, czy buforować dane zapisane w zasobie internetowym dla WebClient wystąpienia.

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

Wartość właściwości

true aby umożliwić buforowanie danych zapisanych w zasobie internetowym; false aby wyłączyć buforowanie. Wartość domyślna to true.

Atrybuty

Uwagi

AllowWriteStreamBuffering Gdy właściwość ma truewartość , dane są buforowane w pamięci, dzięki czemu można je wydajniej zapisywać w zasobie internetowym w większych fragmentach.

Dotyczy