WebClient.AllowWriteStreamBuffering Propriedade

Definição

Cuidado

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

Obtém ou define um valor que indica se os dados gravados no recurso da Internet para uma instância WebClient devem ser armazenados em buffer.Gets or sets a value that indicates whether to buffer the data written to the Internet resource for a WebClient instance.

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; }
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
member this.AllowWriteStreamBuffering : bool with get, set
Public Property AllowWriteStreamBuffering As Boolean

Valor da propriedade

Boolean

true para habilitar o armazenamento em buffer dos dados gravados no recurso da Internet, false para desabilitar o armazenamento em buffer.true to enable buffering of the data written to the Internet resource; false to disable buffering. O padrão é true.The default is true.

Atributos

Comentários

Quando a AllowWriteStreamBuffering propriedade é true , os dados são armazenados em buffer na memória para que possam ser gravados com mais eficiência no recurso da Internet em partes maiores.When the AllowWriteStreamBuffering property is true, the data is buffered in memory so it can be written more efficiently to the Internet resource in larger chunks.

Aplica-se a