Поделиться через


WebClient.AllowWriteStreamBuffering Свойство

Определение

Внимание

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

Возвращает или задает значение, указывающее, следует ли буферивировать данные, записанные в ресурс Интернета для экземпляра WebClient .

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 для включения буферизации данных, записанных в интернет-ресурс; false для отключения буферизации. Значение по умолчанию — true.

Атрибуты

Комментарии

AllowWriteStreamBuffering Если свойство trueимеет значение, данные буферизуются в памяти, чтобы его можно было записывать более эффективно в интернет-ресурс в больших блоках.

Применяется к